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

Method test_mkdir

Lib/test/test_pathlib/test_write.py:118–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 b'fghlk' + os_linesep_byte + b'\rmnopq')
117
118 def test_mkdir(self):
119 p = self.root / 'newdirA'
120 self.assertFalse(self.ground.isdir(p))
121 p.mkdir()
122 self.assertTrue(self.ground.isdir(p))
123
124 def test_symlink_to(self):
125 if not self.ground.can_symlink:

Callers

nothing calls this directly

Calls 4

assertFalseMethod · 0.80
assertTrueMethod · 0.80
isdirMethod · 0.45
mkdirMethod · 0.45

Tested by

no test coverage detected