Tab test_repr_daemon over so it's included in ThreadTests.

Noticed by Amaury.
This commit is contained in:
Brian Curtin 2010-07-23 16:30:10 +00:00
parent 4b16e130cc
commit 81a4a6abb7
1 changed files with 5 additions and 5 deletions

View File

@ -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):