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

Method test_envar_good_path_other

Lib/test/test_builtin.py:2560–2564  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2558
2559 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2560 def test_envar_good_path_other(self):
2561 self.env['PYTHONBREAKPOINT'] = 'sys.exit'
2562 with patch('sys.exit') as mock:
2563 breakpoint()
2564 mock.assert_called_once_with()
2565
2566 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2567 def test_envar_good_path_noop_0(self):

Callers

nothing calls this directly

Calls 2

patchFunction · 0.90

Tested by

no test coverage detected