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

View file

@ -414,11 +414,11 @@ class ThreadTests(BaseTestCase):
e.isSet() e.isSet()
threading.activeCount() threading.activeCount()
def test_repr_daemon(self): def test_repr_daemon(self):
t = threading.Thread() t = threading.Thread()
self.assertFalse('daemon' in repr(t)) self.assertFalse('daemon' in repr(t))
t.daemon = True t.daemon = True
self.assertTrue('daemon' in repr(t)) self.assertTrue('daemon' in repr(t))
class ThreadJoinOnShutdown(BaseTestCase): class ThreadJoinOnShutdown(BaseTestCase):