From 5f24503c88815e9ea1d9f6c710b83b30ed0aee7c Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Thu, 16 Nov 2023 19:54:05 -0800 Subject: [PATCH] save path tests from symlink confusion, fixes #231 --- tests/test_paths.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_paths.py b/tests/test_paths.py index 6deca884..21ae9243 100644 --- a/tests/test_paths.py +++ b/tests/test_paths.py @@ -297,7 +297,7 @@ def test_jupyter_path_user_site(): ) ) for p, v in zip(path, values): - assert p == v + assert realpath(p) == realpath(v) def test_jupyter_path_no_user_site(): @@ -354,7 +354,7 @@ def test_jupyter_config_path(): ) ) for p, v in zip(path, values): - assert p == v + assert realpath(p) == realpath(v) def test_jupyter_config_path_no_user_site(): @@ -379,7 +379,7 @@ def test_jupyter_config_path_prefer_env(): ) ) for p, v in zip(path, values): - assert p == v + assert realpath(p) == realpath(v) def test_jupyter_config_path_env():