mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
#11565: Merge with 3.1.
This commit is contained in:
commit
3b3499ba69
93 changed files with 124 additions and 124 deletions
|
@ -194,7 +194,7 @@ class BugsTestCase(unittest.TestCase):
|
|||
# >>> type(loads(dumps(Int())))
|
||||
# <type 'int'>
|
||||
for typ in (int, float, complex, tuple, list, dict, set, frozenset):
|
||||
# Note: str sublclasses are not tested because they get handled
|
||||
# Note: str subclasses are not tested because they get handled
|
||||
# by marshal's routines for objects supporting the buffer API.
|
||||
subtyp = type('subtyp', (typ,), {})
|
||||
self.assertRaises(ValueError, marshal.dumps, subtyp())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue