Skip to content

Commit 1873e6d

Browse files
author
sklett
committed
test and comment for build 64469
1 parent 6905b19 commit 1873e6d

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

sc2reader/readers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,8 +1877,10 @@ def trigger_ping_event(self, data):
18771877
option=data.read_uint32() - 2147483648,
18781878
)
18791879

1880-
class GameEventsReader_64469(GameEventsReader_38749):
1880+
class GameEventsReader_64469(GameEventsReader_38996):
18811881

1882+
# this function is exactly the same as command_event() from GameEventsReader_38996
1883+
# with the only change being that flags now has 26 bits instead of 25.
18821884
def command_event(self, data):
18831885
return dict(
18841886
flags=data.read_bits(26),

test_replays/4.3.0.64469/1.SC2Replay

28.1 KB
Binary file not shown.

test_replays/test_all.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,13 @@ def test_59587(self):
561561
factory = sc2reader.factories.SC2Factory()
562562
replay = factory.load_replay(replayfilename)
563563

564+
def test_64469(self):
565+
for replayfilename in [
566+
"test_replays/4.3.0.64469/1.SC2Replay",
567+
]:
568+
factory = sc2reader.factories.SC2Factory()
569+
replay = factory.load_replay(replayfilename)
570+
564571

565572
class TestGameEngine(unittest.TestCase):
566573
class TestEvent(object):

0 commit comments

Comments
 (0)