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

Method test_access

Lib/test/test_os/test_posix.py:986–987  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

984
985 @unittest.skipUnless(hasattr(posix, 'access'), 'test needs posix.access()')
986 def test_access(self):
987 self.assertTrue(posix.access(os_helper.TESTFN, os.R_OK))
988
989 @unittest.skipUnless(hasattr(posix, 'umask'), 'test needs posix.umask()')
990 def test_umask(self):

Callers

nothing calls this directly

Calls 2

assertTrueMethod · 0.80
accessMethod · 0.80

Tested by

no test coverage detected