Make test_new pass.

This commit is contained in:
Guido van Rossum 2007-05-17 21:15:39 +00:00
parent 1a1f61b48f
commit bbbd4fdba2
2 changed files with 6 additions and 1 deletions

View file

@ -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,