summaryrefslogtreecommitdiff
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-07-23 16:30:10 +0000
committerBrian Curtin <brian.curtin@gmail.com>2010-07-23 16:30:10 +0000
commitc4e6bf7a1ef57aa2e149eb8a02ffe9c148374c7b (patch)
tree449f4b12b57e454e462719f4ee764f6489d58155 /Lib/test/test_threading.py
parent01923b0c16732277e64bcf10b101eb339bd8c0e5 (diff)
downloadcpython-c4e6bf7a1ef57aa2e149eb8a02ffe9c148374c7b.tar.gz
Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
Diffstat (limited to 'Lib/test/test_threading.py')
-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 201bfcb180..bf9f90d3b1 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):