Skip to content

Commit 5121a5b

Browse files
committed
Fix kernelspec path in tests
1 parent d2ec39e commit 5121a5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_kernel.py

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

1111

1212
TIMEOUT = 5
13-
KERNELSPEC_PATH = os.environ["CONDA_PREFIX"] + "/share/jupyter/kernels/akernel/kernel.json"
13+
KERNELSPEC_PATH = str(Path(sys.prefix) / "share" / "jupyter" / "kernels" / "akernel" / "kernel.json")
1414

1515

1616
ANSI_ESCAPE = re.compile(r"\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])")

0 commit comments

Comments
 (0)