Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81a4a6a

Browse files
committed
Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
1 parent 4b16e13 commit 81a4a6a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Lib/test/test_threading.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -414,11 +414,11 @@ def test_old_threading_api(self):
414414
e.isSet()
415415
threading.activeCount()
416416

417-
def test_repr_daemon(self):
418-
t = threading.Thread()
419-
self.assertFalse('daemon' in repr(t))
420-
t.daemon = True
421-
self.assertTrue('daemon' in repr(t))
417+
def test_repr_daemon(self):
418+
t = threading.Thread()
419+
self.assertFalse('daemon' in repr(t))
420+
t.daemon = True
421+
self.assertTrue('daemon' in repr(t))
422422

423423

424424
class ThreadJoinOnShutdown(BaseTestCase):

0 commit comments

Comments
 (0)