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

Method run_cmd_ok

Lib/test/test_calendar.py:1099–1100  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

1097 return stdout.buffer.read()
1098
1099 def run_cmd_ok(self, *args):
1100 return assert_python_ok('-m', 'calendar', *args)[1]
1101
1102 def assertCLIFails(self, *args):
1103 with self.captured_stderr_with_buffer() as stderr:

Callers 1

test_helpMethod · 0.95

Calls 1

assert_python_okFunction · 0.90

Tested by

no test coverage detected