Fix patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=159
This commit is contained in:
parent
c13a3979ae
commit
dbd04e1e44
@ -13,14 +13,13 @@ Subject: [PATCH] bpo-37596: Make `set` and `frozenset` marshalling
|
|||||||
|
|
||||||
--- a/Lib/test/test_marshal.py
|
--- a/Lib/test/test_marshal.py
|
||||||
+++ b/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 import support
|
||||||
from test.support import os_helper
|
|
||||||
+from test.support.script_helper import assert_python_ok
|
+from test.support.script_helper import assert_python_ok
|
||||||
import array
|
import array
|
||||||
import io
|
import io
|
||||||
import marshal
|
import marshal
|
||||||
@@ -318,6 +319,31 @@ class BugsTestCase(unittest.TestCase):
|
@@ -324,6 +325,31 @@ class BugsTestCase(unittest.TestCase):
|
||||||
for i in range(len(data)):
|
for i in range(len(data)):
|
||||||
self.assertRaises(EOFError, marshal.loads, data[0: i])
|
self.assertRaises(EOFError, marshal.loads, data[0: i])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user