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

Method test_defaults_with_str_path

Lib/test/test_venv.py:120–126  ·  view source on GitHub ↗

Test the create function with default arguments and a str path.

(self)

Source from the content-addressed store, hash-verified

118 self.assertTrue(os.path.isdir(fn))
119
120 def test_defaults_with_str_path(self):
121 """
122 Test the create function with default arguments and a str path.
123 """
124 rmtree(self.env_dir)
125 self.run_with_capture(venv.create, self.env_dir)
126 self._check_output_of_default_create()
127
128 def test_defaults_with_pathlike(self):
129 """

Callers

nothing calls this directly

Calls 3

rmtreeFunction · 0.90
run_with_captureMethod · 0.80

Tested by

no test coverage detected