mirror of
https://github.com/python/cpython.git
synced 2026-03-03 11:30:43 +00:00
merge 3.5
This commit is contained in:
commit
ac2ed9d895
1 changed files with 1 additions and 1 deletions
|
|
@ -1043,7 +1043,7 @@ def test_newobj_not_class(self):
|
|||
# Issue 24552
|
||||
global SimpleNewObj
|
||||
save = SimpleNewObj
|
||||
o = object.__new__(SimpleNewObj)
|
||||
o = SimpleNewObj.__new__(SimpleNewObj)
|
||||
b = self.dumps(o, 4)
|
||||
try:
|
||||
SimpleNewObj = 42
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue