mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#11565: Fix several typos. Patch by Piotr Kasprzyk.
This commit is contained in:
parent
6905de14fe
commit
c2077b0d9b
91 changed files with 125 additions and 125 deletions
|
@ -252,7 +252,7 @@ class BugsTestCase(unittest.TestCase):
|
|||
# >>> type(loads(dumps(Int())))
|
||||
# <type 'int'>
|
||||
for typ in (int, long, float, complex, tuple, list, dict, set, frozenset):
|
||||
# Note: str and unicode sublclasses are not tested because they get handled
|
||||
# Note: str and unicode 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