We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d30bb7 commit 68c6533Copy full SHA for 68c6533
Lib/test/test_ntpath.py
@@ -269,9 +269,8 @@ def test_realpath_basic(self):
269
self.assertPathEqual(ntpath.realpath(os.fsencode(ABSTFN + "1")),
270
os.fsencode(ABSTFN))
271
272
- @unittest.skipUnless(hasattr(os, "symlink"),
273
- "Missing symlink implementation")
274
- @skip_if_ABSTFN_contains_backslash
+ @os_helper.skip_unless_symlink
+ @unittest.skipUnless(HAVE_GETFINALPATHNAME, 'need _getfinalpathname')
275
def test_realpath_strict(self):
276
# Bug #43757: raise FileNotFoundError in strict mode if we encounter
277
# a path that does not exist.
0 commit comments