Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Unified Diff: Lib/test/threaded_import_hangers.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Lib/test/threaded_import_hangers.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/test/threaded_import_hangers.py Mon Jul 25 09:47:18 2011 -0400
@@ -35,11 +35,8 @@
("os.path.abspath", os.path.abspath, ('.',)),
]:
- try:
- t = Worker(func, args)
- t.start()
- t.join(TIMEOUT)
- if t.is_alive():
- errors.append("%s appeared to hang" % name)
- finally:
- del t
+ t = Worker(func, args)
+ t.start()
+ t.join(TIMEOUT)
+ if t.is_alive():
+ errors.append("%s appeared to hang" % name)
« no previous file with comments | « Lib/test/test_zipimport_support.py ('k') | Lib/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+