MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_site_arg

Method test_site_arg

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

Source from the content-addressed store, hash-verified

900
901 @support.requires_subprocess()
902 def test_site_arg(self):
903 return_code, output = self.invoke_command_line("--user-site")
904 excepted = self.get_excepted_output("--user-site")
905 excepted_return_code, excepted_output = excepted
906 self.assertEqual(return_code, excepted_return_code)
907 self.assertEqual(output, excepted_output)
908
909 @support.requires_subprocess()
910 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