mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Make test_new pass.
This commit is contained in:
parent
1a1f61b48f
commit
bbbd4fdba2
2 changed files with 6 additions and 1 deletions
|
@ -143,7 +143,7 @@ class NewTest(unittest.TestCase):
|
|||
firstlineno, lnotab)
|
||||
|
||||
# new.code used to be a way to mutate a tuple...
|
||||
class S(str):
|
||||
class S(str8):
|
||||
pass
|
||||
t = (S("ab"),)
|
||||
d = new.code(argcount, kwonlyargcount, nlocals, stacksize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue