##// END OF EJS Templates
resolve path to temporary directory to ensure that 'assert_equal' tests also work when $TMPDIR is a symlink
Kenneth Hoste -
Show More
@@ -17,7 +17,7 b' from IPython import paths'
17 from IPython.testing.decorators import skip_win32
17 from IPython.testing.decorators import skip_win32
18 from IPython.utils.tempdir import TemporaryDirectory
18 from IPython.utils.tempdir import TemporaryDirectory
19
19
20 TMP_TEST_DIR = tempfile.mkdtemp()
20 TMP_TEST_DIR = os.path.realpath(tempfile.mkdtemp())
21 HOME_TEST_DIR = os.path.join(TMP_TEST_DIR, "home_test_dir")
21 HOME_TEST_DIR = os.path.join(TMP_TEST_DIR, "home_test_dir")
22 XDG_TEST_DIR = os.path.join(HOME_TEST_DIR, "xdg_test_dir")
22 XDG_TEST_DIR = os.path.join(HOME_TEST_DIR, "xdg_test_dir")
23 XDG_CACHE_DIR = os.path.join(HOME_TEST_DIR, "xdg_cache_dir")
23 XDG_CACHE_DIR = os.path.join(HOME_TEST_DIR, "xdg_cache_dir")
General Comments 0
You need to be logged in to leave comments. Login now