Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
This commit is contained in:
parent
4b16e130cc
commit
81a4a6abb7
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue