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

Method test_site_arg

Lib/test/test_site.py:894–899  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

892
893 @support.requires_subprocess()
894 def test_site_arg(self):
895 return_code, output = self.invoke_command_line("--user-site")
896 excepted = self.get_excepted_output("--user-site")
897 excepted_return_code, excepted_output = excepted
898 self.assertEqual(return_code, excepted_return_code)
899 self.assertEqual(output, excepted_output)
900
901 @support.requires_subprocess()
902 def test_both_args(self):

Callers

nothing calls this directly

Calls 3

invoke_command_lineMethod · 0.95
get_excepted_outputMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected