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

Method test_quiet_mode

Lib/test/test_repl.py:446–450  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

444 self.assertIn(expected, output, expected)
445
446 def test_quiet_mode(self):
447 p = spawn_repl("-q", "-m", "asyncio", custom=True)
448 output = kill_python(p)
449 self.assertEqual(p.returncode, 0)
450 self.assertEqual(output[:3], ">>>")
451
452
453if __name__ == "__main__":

Callers

nothing calls this directly

Calls 3

kill_pythonFunction · 0.90
spawn_replFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected