Skip to content

Commit d5eaa10

Browse files
committed
update modin test
1 parent 1be6256 commit d5eaa10

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
LOCAL_TESTING_MODE = False
2222

2323
sys.path.append("tests/")
24+
params_file = os.path.abspath("tests/parameters.py")
2425
with open("tests/parameters.py", encoding="utf-8") as f:
25-
exec(f.read(), globals())
26-
conn_params = globals()["CONNECTION_PARAMETERS"]
26+
exec_globals = {"__file__": params_file}
27+
exec(f.read(), exec_globals)
28+
conn_params = exec_globals["CONNECTION_PARAMETERS"]
2729

2830

2931
def pytest_addoption(parser):

0 commit comments

Comments
 (0)