mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
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. (cherry picked from commit c68573b339320409b038501fdd7d4f8a56766275) Co-authored-by: Alexander Kanavin <alex.kanavin@gmail.com>
This commit is contained in:
parent
9707bf228e
commit
4710a7589a
@ -354,7 +354,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):
|
||||
|
||||
@ -0,0 +1 @@
|
||||
Correct test_marsh on (32 bit) x86: test_deterministic sets was failing.
|
||||
Loading…
x
Reference in New Issue
Block a user