The test using class initarg failed, because it was lacking a

__safe_for_unpickling__ attribute.
This commit is contained in:
Guido van Rossum 2001-12-19 16:38:29 +00:00
parent 4f5b49fb56
commit 1444f67fa0

View file

@ -14,6 +14,9 @@ class myint(int):
self.str = str(x)
class initarg(C):
__safe_for_unpickling__ = 1
def __init__(self, a, b):
self.a = a
self.b = b