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

Method test_copy_into_empty_name

Lib/test/test_pathlib/test_copy.py:143–147  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

141 self.target_ground.readbytes(result))
142
143 def test_copy_into_empty_name(self):
144 source = self.source_root.with_segments()
145 target_dir = self.target_root / 'dirA'
146 self.target_ground.create_dir(target_dir)
147 self.assertRaises(ValueError, source.copy_into, target_dir)
148
149
150class ZipToZipPathCopyTest(CopyTestBase, unittest.TestCase):

Callers

nothing calls this directly

Calls 3

with_segmentsMethod · 0.45
create_dirMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected