tests: allow running scripts from any subdir.

issue510
David Wilson 6 years ago
parent 81c93e173f
commit 835bead37a

@ -15,6 +15,13 @@ try:
except ImportError:
import urllib.parse as urlparse
os.chdir(
os.path.join(
os.path.dirname(__file__),
'..'
)
)
#
# check_output() monkeypatch cutpasted from testlib.py

Loading…
Cancel
Save