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

Method test_both_args

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

Source from the content-addressed store, hash-verified

900
901 @support.requires_subprocess()
902 def test_both_args(self):
903 return_code, output = self.invoke_command_line("--user-base",
904 "--user-site")
905 excepted = self.get_excepted_output("--user-base", "--user-site")
906 excepted_return_code, excepted_output = excepted
907 self.assertEqual(return_code, excepted_return_code)
908 self.assertEqual(output, excepted_output)
909
910
911if __name__ == "__main__":

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