summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_marshal.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-12-03 16:53:20 (GMT)
committerGitHub <noreply@github.com>2022-12-03 16:53:20 (GMT)
commitc68573b339320409b038501fdd7d4f8a56766275 (patch)
tree82da2b60f030beb38102c47571c4d692139c9f1b /Lib/test/test_marshal.py
parentee6015650017ca145a48c345311a9c481949de71 (diff)
downloadcpython-c68573b339320409b038501fdd7d4f8a56766275.zip
cpython-c68573b339320409b038501fdd7d4f8a56766275.tar.gz
cpython-c68573b339320409b038501fdd7d4f8a56766275.tar.bz2
gh-99934: test_marshal.py: add more elements in test_deterministic_sets (GH-99935)
Existing elements do produce different output on x86_64, but they do not on x86. Let's make the data longer to ensure it differs.
Diffstat (limited to 'Lib/test/test_marshal.py')
-rw-r--r--Lib/test/test_marshal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py
index 54c5a32..3d9d6d5 100644
--- a/Lib/test/test_marshal.py
+++ b/Lib/test/test_marshal.py
@@ -355,7 +355,7 @@ class BugsTestCase(unittest.TestCase):
for elements in (
"float('nan'), b'a', b'b', b'c', 'x', 'y', 'z'",
# Also test for bad interactions with backreferencing:
- "('Spam', 0), ('Spam', 1), ('Spam', 2)",
+ "('Spam', 0), ('Spam', 1), ('Spam', 2), ('Spam', 3), ('Spam', 4), ('Spam', 5)",
):
s = f"{kind}([{elements}])"
with self.subTest(s):