Skip to content

Commit

Permalink
Update test_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blester125 authored Jan 13, 2024
1 parent 331b15d commit 28ec9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_sort_spans():
span_end = span_start + span_length
span = Span(type=random_string(), start=span_start, end=span_end, tokens=tuple(range(span_start, span_end)))
spans.append(span)
start_loc += span_length
start_loc = span_end
shuffed = deepcopy(spans)
random.shuffle(shuffed)
assert sort_spans(shuffed) == spans
Expand Down

0 comments on commit 28ec9ac

Please sign in to comment.