Skip to content

Commit a46e0b6

Browse files
committed
add failing test for 3.12 replay
1 parent 0a5c9bf commit a46e0b6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
107 KB
Binary file not shown.

test_replays/test_all.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,14 @@ def test_37(self):
530530
replay = sc2reader.load_replay("test_replays/3.7.0/1.SC2Replay")
531531
replay = sc2reader.load_replay("test_replays/3.7.0/2.SC2Replay")
532532

533+
def test_312(self):
534+
for replayfilename in [
535+
"test_replays/3.12/Honorgrounds.SC2Replay",
536+
]:
537+
factory = sc2reader.factories.SC2Factory()
538+
replay =factory.load_replay(replayfilename,load_level=0)
539+
replay =factory.load_replay(replayfilename,load_level=1)
540+
533541

534542
class TestGameEngine(unittest.TestCase):
535543
class TestEvent(object):

0 commit comments

Comments
 (0)