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

Method test_envar_good_path_noop_0

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

Source from the content-addressed store, hash-verified

2516
2517 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2518 def test_envar_good_path_noop_0(self):
2519 self.env['PYTHONBREAKPOINT'] = '0'
2520 with patch('pdb.set_trace') as mock:
2521 breakpoint()
2522 mock.assert_not_called()
2523
2524 def test_envar_good_path_empty_string(self):
2525 # PYTHONBREAKPOINT='' is the same as it not being set.

Callers

nothing calls this directly

Calls 3

patchFunction · 0.90
breakpointFunction · 0.85
assert_not_calledMethod · 0.80

Tested by

no test coverage detected