diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 0e1f7c36971..735c9f09aa1 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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(), '')