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

Method test_envar_good_path_builtin

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

Source from the content-addressed store, hash-verified

2502
2503 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2504 def test_envar_good_path_builtin(self):
2505 self.env['PYTHONBREAKPOINT'] = 'int'
2506 with patch('builtins.int') as mock:
2507 breakpoint('7')
2508 mock.assert_called_once_with('7')
2509
2510 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2511 def test_envar_good_path_other(self):

Callers

nothing calls this directly

Calls 3

patchFunction · 0.90
breakpointFunction · 0.85

Tested by

no test coverage detected