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

Method test_defaults_with_pathlike

Lib/test/test_venv.py:128–134  ·  view source on GitHub ↗

Test the create function with default arguments and a path-like path.

(self)

Source from the content-addressed store, hash-verified

126 self._check_output_of_default_create()
127
128 def test_defaults_with_pathlike(self):
129 """
130 Test the create function with default arguments and a path-like path.
131 """
132 rmtree(self.env_dir)
133 self.run_with_capture(venv.create, FakePath(self.env_dir))
134 self._check_output_of_default_create()
135
136 def _check_output_of_default_create(self):
137 self.isdir(self.bindir)

Callers

nothing calls this directly

Calls 4

rmtreeFunction · 0.90
FakePathClass · 0.90
run_with_captureMethod · 0.80

Tested by

no test coverage detected