diff options
Diffstat (limited to 'Lib/test/test_threadedtempfile.py')
-rw-r--r-- | Lib/test/test_threadedtempfile.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_threadedtempfile.py b/Lib/test/test_threadedtempfile.py index 5730323a9d..753f38847e 100644 --- a/Lib/test/test_threadedtempfile.py +++ b/Lib/test/test_threadedtempfile.py @@ -49,14 +49,14 @@ class ThreadedTempFileTest(unittest.TestCase): def test_main(self): threads = [] thread_info = threading_setup() - + for i in range(NUM_THREADS): t = TempFileGreedy() threads.append(t) t.start() - + startEvent.set() - + ok = 0 errors = [] for t in threads: @@ -66,8 +66,8 @@ class ThreadedTempFileTest(unittest.TestCase): errors.append(str(t.getName()) + str(t.errors.getvalue())) threading_cleanup(*thread_info) - - msg = "Errors: errors %d ok %d\n%s" % (len(errors), ok, + + msg = "Errors: errors %d ok %d\n%s" % (len(errors), ok, '\n'.join(errors)) self.assertEquals(errors, [], msg) self.assertEquals(ok, NUM_THREADS * FILES_PER_THREAD) |