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

Method test_base_arg

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

Source from the content-addressed store, hash-verified

884
885 @support.requires_subprocess()
886 def test_base_arg(self):
887 return_code, output = self.invoke_command_line("--user-base")
888 excepted = self.get_excepted_output("--user-base")
889 excepted_return_code, excepted_output = excepted
890 self.assertEqual(return_code, excepted_return_code)
891 self.assertEqual(output, excepted_output)
892
893 @support.requires_subprocess()
894 def test_site_arg(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