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

Method f

Lib/test/test_exceptions.py:1973–1975  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1971 def test_issue45826(self):
1972 # regression test for bpo-45826
1973 def f():
1974 with self.assertRaisesRegex(NameError, 'aaa'):
1975 aab
1976
1977 try:
1978 f()

Callers

nothing calls this directly

Calls 2

assertRaisesRegexMethod · 0.80
with_tracebackMethod · 0.80

Tested by

no test coverage detected