X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/41e5301693c96f5341d0f05e5dc6fa9effd19b1e..81587cc71cc4109574bac8da45e517840add333b:/python/unittest.py?ds=sidebyside diff --git a/python/unittest.py b/python/unittest.py index d986705..6382a0f 100644 --- a/python/unittest.py +++ b/python/unittest.py @@ -212,7 +212,7 @@ def main(module="__main__"): if isinstance(c, object) and isinstance(c, type) and issubclass(c, TestCase): yield c - m = __import__(module, fromlist=['']) # changed to permit non-top-level testing modules + m = __import__(module) # changed to permit non-top-level testing modules suite = TestSuite() for c in test_cases(m): suite.addTest(c)