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

Method test_skip_with_no_name_module

Lib/test/test_bdb.py:757–762  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

755 tracer.runcall(tfunc_import)
756
757 def test_skip_with_no_name_module(self):
758 # some frames have `globals` with no `__name__`
759 # for instance the second frame in this traceback
760 # exec(compile('raise ValueError()', '', 'exec'), {})
761 bdb = Bdb(skip=['anything*'])
762 self.assertIs(bdb.is_skipped_module(None), False)
763
764 def test_down(self):
765 # Check that set_down() raises BdbError at the newest frame.

Callers

nothing calls this directly

Calls 3

is_skipped_moduleMethod · 0.95
BdbClass · 0.70
assertIsMethod · 0.45

Tested by

no test coverage detected