From: Cefn Hoile Date: Sat, 17 Feb 2018 02:04:35 +0000 (+0000) Subject: Removed prior workaround as not compatible with micropython on ESP8266 X-Git-Tag: 0.1.0~4^2~142 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/81587cc71cc4109574bac8da45e517840add333b Removed prior workaround as not compatible with micropython on ESP8266 --- 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)