[Python-checkins] r83102 - python/branches/py3k/Lib/test/test_threading.py

brian.curtin python-checkins at python.org
Fri Jul 23 18:30:10 CEST 2010


Author: brian.curtin
Date: Fri Jul 23 18:30:10 2010
New Revision: 83102

Log:
Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.


Modified:
   python/branches/py3k/Lib/test/test_threading.py

Modified: python/branches/py3k/Lib/test/test_threading.py
==============================================================================
--- python/branches/py3k/Lib/test/test_threading.py	(original)
+++ python/branches/py3k/Lib/test/test_threading.py	Fri Jul 23 18:30:10 2010
@@ -414,11 +414,11 @@
         e.isSet()
         threading.activeCount()
 
-def test_repr_daemon(self):
-    t = threading.Thread()
-    self.assertFalse('daemon' in repr(t))
-    t.daemon = True
-    self.assertTrue('daemon' in repr(t))
+    def test_repr_daemon(self):
+        t = threading.Thread()
+        self.assertFalse('daemon' in repr(t))
+        t.daemon = True
+        self.assertTrue('daemon' in repr(t))
 
 
 class ThreadJoinOnShutdown(BaseTestCase):


More information about the Python-checkins mailing list