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.
This commit is contained in:
Zachary Ware 2015-12-04 23:32:23 -06:00
parent 939614c48c
commit ac28b796d8
8 changed files with 13 additions and 7 deletions

View file

@ -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()