gh-71052: Add test exclusions to support running the test suite on Android (#115918)

This commit is contained in:
Malcolm Smith 2024-02-29 21:32:50 +00:00 committed by GitHub
parent 83c5ecdeec
commit 41d5391c55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 58 additions and 27 deletions

View file

@ -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'