dist/tools/testrunner: fix some pep8
This commit is contained in:
parent
d2ccbc85b0
commit
a8275ea637
13
dist/tools/testrunner/testrunner.py
vendored
13
dist/tools/testrunner/testrunner.py
vendored
@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
# Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
|
# Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
|
||||||
# 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
|
# 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||||
#
|
#
|
||||||
@ -7,10 +5,15 @@
|
|||||||
# General Public License v2.1. See the file LICENSE in the top level
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import os, signal, sys, subprocess
|
import os
|
||||||
from pexpect import spawnu, TIMEOUT, EOF
|
import signal
|
||||||
from traceback import print_tb
|
import sys
|
||||||
|
import subprocess
|
||||||
import time
|
import time
|
||||||
|
from traceback import print_tb
|
||||||
|
|
||||||
|
from pexpect import spawnu, TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
def run(testfunc, timeout=10, echo=True, traceback=False):
|
def run(testfunc, timeout=10, echo=True, traceback=False):
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user