From 895080bf5ffa8d088f1ab910211fd8d34fb6fc45cbb7fb85d9b27db03c537ab9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 20 Jun 2023 22:19:48 +0000 Subject: [PATCH] Add missing import OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=93 --- bpo-37596-make-set-marshalling.patch | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/bpo-37596-make-set-marshalling.patch b/bpo-37596-make-set-marshalling.patch index 79c3f51..44bc85f 100644 --- a/bpo-37596-make-set-marshalling.patch +++ b/bpo-37596-make-set-marshalling.patch @@ -5,15 +5,22 @@ Subject: [PATCH] bpo-37596: Make `set` and `frozenset` marshalling deterministic (GH-27926) --- - Lib/test/test_marshal.py | 25 +++++++ + Lib/test/test_marshal.py | 26 ++++++++ Misc/NEWS.d/next/Library/2021-08-23-21-39-59.bpo-37596.ojRcwB.rst | 2 Python/marshal.c | 32 ++++++++++ - 3 files changed, 59 insertions(+) + 3 files changed, 60 insertions(+) create mode 100644 Misc/NEWS.d/next/Library/2021-08-23-21-39-59.bpo-37596.ojRcwB.rst --- a/Lib/test/test_marshal.py +++ b/Lib/test/test_marshal.py -@@ -318,6 +318,31 @@ class BugsTestCase(unittest.TestCase): +@@ -1,5 +1,6 @@ + from test import support + from test.support import os_helper ++from test.support.script_helper import assert_python_ok + import array + import io + import marshal +@@ -318,6 +319,31 @@ class BugsTestCase(unittest.TestCase): for i in range(len(data)): self.assertRaises(EOFError, marshal.loads, data[0: i])