From: Cefn Hoile Date: Mon, 19 Feb 2018 16:10:18 +0000 (+0000) Subject: Update index.md X-Git-Tag: 0.1.0~4^2~72 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/6f2820336ba9d354790757d8ea4bcef4cff988b1?hp=--cc Update index.md --- 6f2820336ba9d354790757d8ea4bcef4cff988b1 diff --git a/notes/index.md b/notes/index.md index 20f258e..199fcae 100644 --- a/notes/index.md +++ b/notes/index.md @@ -21,17 +21,7 @@ minimise heap fragmentation, and ensure there is enough memory to run the partic ```python import gc import testing -gc.collect() -import testing.platform.all.digitalio as suite -gc.collect() -case = suite.TestDigitalInOut() -gc.collect() -if hasattr(case, 'setUp'): - case.setUp() -gc.collect() - -gc.mem_free() -case.test_default() +testing.main() ``` ## Comments