Spaces:
Running
Running
deepsource-autofix[bot]
commited on
Commit
•
31c4fd5
1
Parent(s):
8801268
Format code with black
Browse files- test/test_env.py +3 -1
test/test_env.py
CHANGED
@@ -19,7 +19,9 @@ class TestJuliaProject(unittest.TestCase):
|
|
19 |
os.environ["JULIA_DEPOT_PATH"] = tmpdir
|
20 |
else:
|
21 |
old_env = os.environ["JULIA_DEPOT_PATH"]
|
22 |
-
os.environ[
|
|
|
|
|
23 |
test_env_name = "@pysr_test_env"
|
24 |
julia_helpers.install(julia_project=test_env_name)
|
25 |
Main = julia_helpers.init_julia(julia_project=test_env_name)
|
|
|
19 |
os.environ["JULIA_DEPOT_PATH"] = tmpdir
|
20 |
else:
|
21 |
old_env = os.environ["JULIA_DEPOT_PATH"]
|
22 |
+
os.environ[
|
23 |
+
"JULIA_DEPOT_PATH"
|
24 |
+
] = f"{tmpdir}:{os.environ['JULIA_DEPOT_PATH']}"
|
25 |
test_env_name = "@pysr_test_env"
|
26 |
julia_helpers.install(julia_project=test_env_name)
|
27 |
Main = julia_helpers.init_julia(julia_project=test_env_name)
|