mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
merge 3.5
This commit is contained in:
commit
6ca4260219
3 changed files with 3 additions and 10 deletions
|
@ -4564,14 +4564,6 @@ order (MRO) for bases """
|
|||
self.assertRegex(repr(method),
|
||||
r"<bound method qualname of <object object at .*>>")
|
||||
|
||||
def test_deleting_new_in_subclasses(self):
|
||||
class X:
|
||||
def __init__(self, a):
|
||||
pass
|
||||
X.__new__ = None
|
||||
del X.__new__
|
||||
X(1) # should work
|
||||
|
||||
|
||||
class DictProxyTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue