Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1de4cc

Browse files
committed
fix test_descr
1 parent c0747cf commit c1de4cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_descr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ def __init__(self):
10201020
def __del__(self_):
10211021
self.assertEqual(self_.a, 1)
10221022
self.assertEqual(self_.b, 2)
1023-
with test_support.captured_output('stderr') as s:
1023+
with support.captured_output('stderr') as s:
10241024
h = H()
10251025
del h
10261026
self.assertEqual(s.getvalue(), '')

0 commit comments

Comments
 (0)