Skip to content

Commit 307742f

Browse files
committed
Changes reporting for the empty.SC2Replay file ain the test suite again. An exception solution is really needed here.
1 parent 8a4dd06 commit 307742f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_replays/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_empty():
1515
# Todo: Are we happy with it raising a ValueError? Should it be rather ParseError or something else?
1616
# Maybe a "production" mode would be nice to have, so that it simply returns a status of the parse without
1717
# raising an exception.
18-
with pytest.raises(EOFError):
18+
with pytest.raises(ValueError):
1919
sc2reader.read("test_replays/corrupted/empty.SC2Replay")
2020

2121
# Tests for build 17811 replays

0 commit comments

Comments
 (0)