From 4b5b10df671ab6b2db956cff5807b0d6458e1e82 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 11 Dec 2020 13:55:48 -0300 Subject: [PATCH] Skip test_samefile_symlink on pypy3 on Windows --- testing/path/test_local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/path/test_local.py b/testing/path/test_local.py index a6b8f476..77e46409 100644 --- a/testing/path/test_local.py +++ b/testing/path/test_local.py @@ -721,7 +721,7 @@ def test_samefile_symlink(tmpdir): p2 = tmpdir.join("linked.txt") try: os.symlink(str(p1), str(p2)) - except OSError as e: + except (OSError, NotImplementedError) as e: # on Windows this might fail if the user doesn't have special symlink permissions pytest.skip(str(e.args[0]))