Skip to content

Commit 06eedbb

Browse files
committed
test: update unit tests for _parse_line return type changes
1 parent e48266e commit 06eedbb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_units.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ def test_parse_line_intermediate_rank():
4343

4444

4545
def test_parse_line_too_few_columns():
46-
assert _parse_line("50.00\t500000\n") is None
46+
assert _parse_line("50.00\t500000\n") == []
4747

4848

4949
def test_parse_line_non_numeric_pct():
50-
assert _parse_line("not_a_float\t500000\t0\tP\t1224\tBacteria\n") is None
50+
assert _parse_line("not_a_float\t500000\t0\tP\t1224\tBacteria\n") == []
5151

5252

5353
def test_parse_line_non_numeric_reads():
54-
assert _parse_line("50.00\tnot_int\t0\tP\t1224\tBacteria\n") is None
54+
assert _parse_line("50.00\tnot_int\t0\tP\t1224\tBacteria\n") == []
5555

5656

5757
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)