]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Update index.md
authorCefn Hoile <github.com@cefn.com>
Mon, 19 Feb 2018 16:10:18 +0000 (16:10 +0000)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2018 16:10:18 +0000 (16:10 +0000)
notes/index.md

index 20f258e611e0d2a595b12492cb31f424578382ad..199fcae07d10f5f481bb8207c7b5a9b91577c831 100644 (file)
@@ -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