benjamin.peterson
2008-11-03 21:29:10 UTC
Author: benjamin.peterson
Date: Mon Nov 3 22:29:09 2008
New Revision: 67090
Log:
fix test_descr
Modified:
python/branches/py3k/Lib/test/test_descr.py
Modified: python/branches/py3k/Lib/test/test_descr.py
==============================================================================
--- python/branches/py3k/Lib/test/test_descr.py (original)
+++ python/branches/py3k/Lib/test/test_descr.py Mon Nov 3 22:29:09 2008
@@ -1020,7 +1020,7 @@
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(), '')
Date: Mon Nov 3 22:29:09 2008
New Revision: 67090
Log:
fix test_descr
Modified:
python/branches/py3k/Lib/test/test_descr.py
Modified: python/branches/py3k/Lib/test/test_descr.py
==============================================================================
--- python/branches/py3k/Lib/test/test_descr.py (original)
+++ python/branches/py3k/Lib/test/test_descr.py Mon Nov 3 22:29:09 2008
@@ -1020,7 +1020,7 @@
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(), '')