MCPcopy Index your code
hub / github.com/python/cpython / test_islink_invalid_paths

Method test_islink_invalid_paths

Lib/test/test_posixpath.py:211–215  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 self.assertIs(posixpath.lexists(TESTFN + "2"), True)
210
211 def test_islink_invalid_paths(self):
212 self.assertIs(posixpath.islink(TESTFN + "\udfff"), False)
213 self.assertIs(posixpath.islink(os.fsencode(TESTFN) + b"\xff"), False)
214 self.assertIs(posixpath.islink(TESTFN + "\x00"), False)
215 self.assertIs(posixpath.islink(os.fsencode(TESTFN) + b"\x00"), False)
216
217 def test_ismount(self):
218 self.assertIs(posixpath.ismount("/"), True)

Callers

nothing calls this directly

Calls 2

islinkMethod · 0.80
assertIsMethod · 0.45

Tested by

no test coverage detected