Skip to content

Commit 16301ff

Browse files
test: Catch ValueError instead of AssertionError
1 parent f076795 commit 16301ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_dataframe_compatibility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_LO_init_invalidLengthValueError_negative() -> None:
8787

8888

8989
def test_LO_init_invalidLengthValueError_zero() -> None:
90-
with pytest.raises(AssertionError):
90+
with pytest.raises(ValueError):
9191
ParallelProcessing(
9292
function=lambda x: x,
9393
dataset=DummyLengthOnly(0),

0 commit comments

Comments
 (0)