mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
fix test_descr
This commit is contained in:
parent
c0747cf537
commit
c1de4ccad7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue