MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_mkdir

Method test_mkdir

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

Source from the content-addressed store, hash-verified

110 b'fghlk' + os_linesep_byte + b'\rmnopq')
111
112 def test_mkdir(self):
113 p = self.root / 'newdirA'
114 self.assertFalse(self.ground.isdir(p))
115 p.mkdir()
116 self.assertTrue(self.ground.isdir(p))
117
118 def test_symlink_to(self):
119 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