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

Method test_envar_good_path_other

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

Source from the content-addressed store, hash-verified

2509
2510 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2511 def test_envar_good_path_other(self):
2512 self.env['PYTHONBREAKPOINT'] = 'sys.exit'
2513 with patch('sys.exit') as mock:
2514 breakpoint()
2515 mock.assert_called_once_with()
2516
2517 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2518 def test_envar_good_path_noop_0(self):

Callers

nothing calls this directly

Calls 3

patchFunction · 0.90
breakpointFunction · 0.85

Tested by

no test coverage detected