]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Removed prior workaround as not compatible with micropython on ESP8266
authorCefn Hoile <github.com@cefn.com>
Sat, 17 Feb 2018 02:04:35 +0000 (02:04 +0000)
committerCefn Hoile <github.com@cefn.com>
Sat, 17 Feb 2018 02:04:35 +0000 (02:04 +0000)
python/unittest.py

index d986705ec2f58070586b71949c804eab5d0b7336..6382a0fb62219c0de3ae031223b4188dcae05f4f 100644 (file)
@@ -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)