mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-05 23:37:08 +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:
@@ -7,6 +7,7 @@
|
||||
# directory for more details.
|
||||
|
||||
import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
@@ -15,5 +16,4 @@ def testfunc(child):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from testrunner import run
|
||||
sys.exit(run(testfunc))
|
||||
|
||||
Reference in New Issue
Block a user