Changeset 391 for python/trunk/Lib/test/test_threadedtempfile.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/test/test_threadedtempfile.py
r2 r391 17 17 FILES_PER_THREAD = 50 18 18 19 import thread # If this fails, we can't test this module20 import threading21 19 import tempfile 22 20 23 from test.test_support import threading_setup, threading_cleanup, run_unittest 21 from test.test_support import threading_setup, threading_cleanup, run_unittest, import_module 22 threading = import_module('threading') 24 23 import unittest 25 24 import StringIO … … 70 69 msg = "Errors: errors %d ok %d\n%s" % (len(errors), ok, 71 70 '\n'.join(errors)) 72 self.assertEqual s(errors, [], msg)73 self.assertEqual s(ok, NUM_THREADS * FILES_PER_THREAD)71 self.assertEqual(errors, [], msg) 72 self.assertEqual(ok, NUM_THREADS * FILES_PER_THREAD) 74 73 75 74 def test_main():
Note:
See TracChangeset
for help on using the changeset viewer.