mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-04 06:47:06 +00:00
tests: move testrunner import up
Testrunner is now impported as a package found in PYTHONPATH, so import can be placed at the top of the script as usual.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
# directory for more details.
|
||||
|
||||
import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
@@ -25,5 +26,4 @@ def testfunc(child):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from testrunner import run
|
||||
sys.exit(run(testfunc))
|
||||
|
||||
Reference in New Issue
Block a user