From 81587cc71cc4109574bac8da45e517840add333b Mon Sep 17 00:00:00 2001 From: Cefn Hoile Date: Sat, 17 Feb 2018 02:04:35 +0000 Subject: [PATCH] Removed prior workaround as not compatible with micropython on ESP8266 --- python/unittest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.49.0