From 1760654c1850bb5dd2ab522ce891b9a45cdf6637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Redzy=C5=84ski?= Date: Wed, 7 Oct 2020 16:50:48 +0200 Subject: [PATCH] TestCmdCacheDir: roll back darwin skip --- tests/func/test_cache.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/func/test_cache.py b/tests/func/test_cache.py index 98f8bfd6b1..09eb047e70 100644 --- a/tests/func/test_cache.py +++ b/tests/func/test_cache.py @@ -1,5 +1,4 @@ import os -import platform import stat import configobj @@ -164,12 +163,8 @@ def test_abs_path(self): config = configobj.ConfigObj(self.dvc.config.files["repo"]) self.assertEqual(config["cache"]["dir"], dname.replace("\\", "/")) - @pytest.mark.skipif( - platform.system() == "Darwin", - reason="https://github.com/iterative/dvc/issues/4418", - ) def test_relative_path(self): - tmpdir = self.mkdtemp() + tmpdir = os.path.realpath(self.mkdtemp()) dname = relpath(tmpdir) ret = main(["cache", "dir", dname]) self.assertEqual(ret, 0)