summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-07-23 16:30:10 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-07-23 16:30:10 (GMT)
commit81a4a6abb7a331c2a9d1227146b0ccb7f6a6cd4c (patch)
tree030e35c6968751809254fec0acc464314162d2ad
parent4b16e130cc0262699a186b1917b2a9896abe9f25 (diff)
downloadcpython-81a4a6abb7a331c2a9d1227146b0ccb7f6a6cd4c.zip
cpython-81a4a6abb7a331c2a9d1227146b0ccb7f6a6cd4c.tar.gz
cpython-81a4a6abb7a331c2a9d1227146b0ccb7f6a6cd4c.tar.bz2
Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
-rw-r--r--Lib/test/test_threading.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 201bfcb..bf9f90d 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -414,11 +414,11 @@ class ThreadTests(BaseTestCase):
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):