Skip to content

Commit 4089674

Browse files
committed
test/refactor: move rootpath to top [ci skip]
1 parent 46dab46 commit 4089674

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mybad/tests/helper.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# DEPS
44
# --------------------------------------
55

6+
import rootpath
7+
8+
rootpath.append()
9+
610
import sys
711
import os
812
import inspect
@@ -14,18 +18,14 @@
1418
import inspecta
1519

1620
from os import path, environ
21+
from deepdiff import DeepDiff
22+
1723
try:
1824
# NOTE on `tox` (2/2): ran into issues with `tox` raising `ncurses` error, so disabling colors when running in `tox` for now
1925
from colour_runner.result import ColourTextTestResult
2026
except:
2127
pass
2228

23-
from deepdiff import DeepDiff
24-
25-
import rootpath
26-
27-
rootpath.append()
28-
2929
from six import PY2, PY3, string_types
3030

3131
CURRENT_PATH = path.abspath(path.dirname(__file__))

0 commit comments

Comments
 (0)