From: Brian Curtin Date: Fri, 23 Jul 2010 16:30:10 +0000 (+0000) Subject: Tab test_repr_daemon over so it's included in ThreadTests. X-Git-Tag: v3.2a1~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81a4a6abb7a331c2a9d1227146b0ccb7f6a6cd4c;p=thirdparty%2FPython%2Fcpython.git Tab test_repr_daemon over so it's included in ThreadTests. Noticed by Amaury. --- diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 201bfcb18016..bf9f90d3b1ba 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):