From c1de4ccad7907939b78c8e9e7de248d20c7840ee Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 3 Nov 2008 21:29:09 +0000 Subject: [PATCH] fix test_descr --- Lib/test/test_descr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), '')