summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-12-28 08:37:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-28 23:59:55 +0000
commit715a25b1f137d392d6de7c0101de64adf823a0eb (patch)
tree75f26ed2ed2c044d37b3e6b9e6560d57f67429c6 /meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch
parente20cf2149078ecf15ebe1402bf89b15c0c53a04b (diff)
downloadpoky-715a25b1f137d392d6de7c0101de64adf823a0eb.tar.gz
python3: update 3.11.0 -> 3.11.1
Drop 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch: the patch has been rejected upstream (see the bug), and does quite a bit more than just fix the mips softfloat problem. If the problem still exists, then the fix needs to be re-done, and re-submitted. The other two patches have been merged upstream. License-Update: http->https (From OE-Core rev: 9b6e8c173162798428cf8627b596ca81cd8ab855) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch')
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch b/meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch
deleted file mode 100644
index 9da7f94255..0000000000
--- a/meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 076a4f9ab06105b94c87386c0dfe17b823502a13 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 1 Dec 2022 19:02:51 +0100
4Subject: [PATCH] test_marshal.py: add more elements in test_deterministic_sets
5
6Existing elements do produce different output on x86_64, but they
7do not on x86. Let's make the data longer to ensure it differs.
8
9Upstream-Status: Submitted [https://github.com/python/cpython/pull/99935]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 Lib/test/test_marshal.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py
16index 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):
20 for elements in (
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)",
25 ):
26 s = f"{kind}([{elements}])"
27 with self.subTest(s):