mirror of https://github.com/python/cpython
fix test_descr
This commit is contained in:
parent
c0747cf537
commit
c1de4ccad7
|
@ -1020,7 +1020,7 @@ order (MRO) for bases """
|
|||
def __del__(self_):
|
||||
self.assertEqual(self_.a, 1)
|
||||
self.assertEqual(self_.b, 2)
|
||||
with test_support.captured_output('stderr') as s:
|
||||
with support.captured_output('stderr') as s:
|
||||
h = H()
|
||||
del h
|
||||
self.assertEqual(s.getvalue(), '')
|
||||
|
|
Loading…
Reference in New Issue