Matej Cepl 2023-07-29 20:30:07 +00:00 committed by Git OBS Bridge
parent c13a3979ae
commit dbd04e1e44

View File

@ -13,14 +13,13 @@ Subject: [PATCH] bpo-37596: Make `set` and `frozenset` marshalling
--- a/Lib/test/test_marshal.py
+++ b/Lib/test/test_marshal.py
@@ -1,5 +1,6 @@
@@ -1,4 +1,5 @@
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):
@@ -324,6 +325,31 @@ class BugsTestCase(unittest.TestCase):
for i in range(len(data)):
self.assertRaises(EOFError, marshal.loads, data[0: i])