Commit 9165ab7d authored by Benjamin Peterson's avatar Benjamin Peterson

fix test_descr

parent d9ff4bd6
...@@ -1020,7 +1020,7 @@ order (MRO) for bases """ ...@@ -1020,7 +1020,7 @@ order (MRO) for bases """
def __del__(self_): def __del__(self_):
self.assertEqual(self_.a, 1) self.assertEqual(self_.a, 1)
self.assertEqual(self_.b, 2) self.assertEqual(self_.b, 2)
with test_support.captured_output('stderr') as s: with support.captured_output('stderr') as s:
h = H() h = H()
del h del h
self.assertEqual(s.getvalue(), '') self.assertEqual(s.getvalue(), '')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment