From: Cefn Hoile Date: Tue, 20 Feb 2018 18:06:19 +0000 (+0000) Subject: Snapshot of testing.main() which runs BME280 successfully X-Git-Tag: 0.1.0~4^2~51 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/b73cdee0593b29afe753bc8bdaee4fc2d48e6c2e?ds=sidebyside Snapshot of testing.main() which runs BME280 successfully --- diff --git a/python/testing/__init__.py b/python/testing/__init__.py index 87e3900..5be50c1 100644 --- a/python/testing/__init__.py +++ b/python/testing/__init__.py @@ -91,11 +91,16 @@ def test_prepare(casetype): def main(): - import microcontroller.esp8266 # temporary workaround for stack recursion error + """ moduleNames = ["testing.implementation.all.digitalio",] if agnostic.implementation == "micropython": moduleNames.extend([ "testing.implementation.micropython.digitalio",]) + """ + moduleNames = ["testing.implementation.all.bitbangio"] + unittest.raiseException = True # terminates with stack information on userspace Exception unittest.raiseBaseException = True # terminates with stack information on system Exception - test_interactive(*moduleNames) \ No newline at end of file + test_interactive(*moduleNames) + +gc.collect() \ No newline at end of file