diff --git a/Lib/test/test_threadedtempfile.py b/Lib/test/test_threadedtempfile.py index 73834673846..6d84e7eef3b 100644 --- a/Lib/test/test_threadedtempfile.py +++ b/Lib/test/test_threadedtempfile.py @@ -63,7 +63,7 @@ def test_main(self): t.join() ok += t.ok_count if t.error_count: - errors.append(str(t.get_name()) + str(t.errors.getvalue())) + errors.append(str(t.name) + str(t.errors.getvalue())) threading_cleanup(*thread_info)