diff options
Diffstat (limited to 'Lib/test/test_userlist.py')
-rw-r--r-- | Lib/test/test_userlist.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_userlist.py b/Lib/test/test_userlist.py index aec4b80..467a47c 100644 --- a/Lib/test/test_userlist.py +++ b/Lib/test/test_userlist.py @@ -252,9 +252,7 @@ class UserListTest(unittest.TestCase): self.assertEqual(u, [0, 1, 0, 1, 0, 1]) def test_main(): - suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(UserListTest)) - test.test_support.run_suite(suite) + test.test_support.run_unittest(UserListTest) if __name__ == "__main__": test_main() |