MCPcopy Create free account
hub / github.com/python/cpython / test_envar_good_path_noop_0

Method test_envar_good_path_noop_0

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

Source from the content-addressed store, hash-verified

2565
2566 @unittest.skipIf(sys.flags.ignore_environment, '-E was given')
2567 def test_envar_good_path_noop_0(self):
2568 self.env['PYTHONBREAKPOINT'] = '0'
2569 with patch('pdb.set_trace') as mock:
2570 breakpoint()
2571 mock.assert_not_called()
2572
2573 def test_envar_good_path_empty_string(self):
2574 # PYTHONBREAKPOINT='' is the same as it not being set.

Callers

nothing calls this directly

Calls 2

patchFunction · 0.90
assert_not_calledMethod · 0.80

Tested by

no test coverage detected