Skip to content

Commit d356e76

Browse files
committed
explicitly setting 1 level of relative imports in gathering test modules
-1 doesn't work on python 3.3+
1 parent 8735443 commit d356e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ordering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
def get_module(module_name):
14-
return __import__(module_name, globals(), locals(), [], -1)
14+
return __import__(module_name, globals(), locals(), [], 1)
1515

1616

1717
def get_tests(module_name):

0 commit comments

Comments
 (0)