From 0a9b40d628c390d98e293c7ba66954d5ad45f43d Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 4 Dec 2015 23:32:23 -0600 Subject: Issue #25795: Fix several tests to run independently. These were broken in 3aec776fc796 when they were converted away from using support.run_unittest(). Oops :) Initial patch by Felippe da Motta Raposo. --- Lib/test/test_pyclbr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_pyclbr.py') diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py index cab430b4bd..6ffbbbda27 100644 --- a/Lib/test/test_pyclbr.py +++ b/Lib/test/test_pyclbr.py @@ -5,7 +5,7 @@ import sys from types import FunctionType, MethodType, BuiltinFunctionType import pyclbr -from unittest import TestCase +from unittest import TestCase, main as unittest_main StaticMethodType = type(staticmethod(lambda: None)) ClassMethodType = type(classmethod(lambda c: None)) @@ -173,4 +173,4 @@ class PyclbrTest(TestCase): if __name__ == "__main__": - unittest.main() + unittest_main() -- cgit v1.2.1