1 From 076a4f9ab06105b94c87386c0dfe17b823502a13 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex@linutronix.de>
3 Date: Thu, 1 Dec 2022 19:02:51 +0100
4 Subject: [PATCH] test_marshal.py: add more elements in test_deterministic_sets
6 Existing elements do produce different output on x86_64, but they
7 do not on x86. Let's make the data longer to ensure it differs.
9 Upstream-Status: Submitted [https://github.com/python/cpython/pull/99935]
10 Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12 Lib/test/test_marshal.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py
16 index aae86cc..29d95ad 100644
17 --- a/Lib/test/test_marshal.py
18 +++ b/Lib/test/test_marshal.py
19 @@ -352,7 +352,7 @@ class BugsTestCase(unittest.TestCase):
21 "float('nan'), b'a', b'b', b'c', 'x', 'y', 'z'",
22 # Also test for bad interactions with backreferencing:
23 - "('Spam', 0), ('Spam', 1), ('Spam', 2)",
24 + "('Spam', 0), ('Spam', 1), ('Spam', 2), ('Spam', 3), ('Spam', 4), ('Spam', 5)",
26 s = f"{kind}([{elements}])"