diff options
author | Malcolm Smith <smith@chaquo.com> | 2024-02-29 21:32:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 21:32:50 (GMT) |
commit | 41d5391c551e2012f13d56ff4bcc1df15c2821d3 (patch) | |
tree | 2767dd61f16e8519893a376ce4ec6452661dac16 /Lib/test/test_pathlib/test_pathlib.py | |
parent | 83c5ecdeec80fbd1f667f234f626c4154d40ebb5 (diff) | |
download | cpython-41d5391c551e2012f13d56ff4bcc1df15c2821d3.zip cpython-41d5391c551e2012f13d56ff4bcc1df15c2821d3.tar.gz cpython-41d5391c551e2012f13d56ff4bcc1df15c2821d3.tar.bz2 |
gh-71052: Add test exclusions to support running the test suite on Android (#115918)
Diffstat (limited to 'Lib/test/test_pathlib/test_pathlib.py')
-rw-r--r-- | Lib/test/test_pathlib/test_pathlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pathlib/test_pathlib.py b/Lib/test/test_pathlib/test_pathlib.py index c0dcf31..7e44ae6 100644 --- a/Lib/test/test_pathlib/test_pathlib.py +++ b/Lib/test/test_pathlib/test_pathlib.py @@ -796,7 +796,7 @@ class PathTest(test_pathlib_abc.DummyPathTest, PurePathTest): self.assertFileNotFound(p.stat) self.assertFileNotFound(p.unlink) - @unittest.skipUnless(hasattr(os, "link"), "os.link() is not present") + @os_helper.skip_unless_hardlink def test_hardlink_to(self): P = self.cls(self.base) target = P / 'fileA' |