diff --git a/tests/data b/tests/data index 6a690a7..0ea6c04 160000 --- a/tests/data +++ b/tests/data @@ -1 +1 @@ -Subproject commit 6a690a705bc6962c0025a32e94a8f0dc8f86418c +Subproject commit 0ea6c04e3a14375937f93554b54e4902f739b2ae diff --git a/tests/reader_test.py b/tests/reader_test.py index 74a9144..f2de691 100644 --- a/tests/reader_test.py +++ b/tests/reader_test.py @@ -2178,7 +2178,7 @@ def test_empty_search_tree_is_accepted(self) -> None: data = pathlib.Path( f"{_TEST_DATA_DIR}/MaxMind-DB-test-ipv4-24.mmdb" ).read_bytes() - original = b"node_count\xc1\xa3" + original = b"node_count\xc1\x8b" self.assertEqual(data.count(original), 1) with ( io.BytesIO(data.replace(original, b"node_count\xc0")) as database, @@ -2194,7 +2194,7 @@ def test_invalid_tree_metadata_is_rejected_on_open(self) -> None: cases = ( (b"record_size\xa1\x18", b"record_size\xa1\x1e", "Unknown record size: 30"), ( - b"node_count\xc1\xa3", + b"node_count\xc1\x8b", b"node_count\x04\x01\xff\xff\xff\xff", "The node_count value -1 is out of range", ),