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

Method test_except_star

Lib/test/test_monitoring.py:1820–1836  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1818 self.check_branches(whilefunc)
1819
1820 def test_except_star(self):
1821
1822 class Foo:
1823 def meth(self):
1824 pass
1825
1826 def func():
1827 try:
1828 try:
1829 raise KeyError
1830 except* Exception as e:
1831 f = Foo(); f.meth()
1832 except KeyError:
1833 pass
1834
1835
1836 self.check_branches(func)
1837
1838 def test4(self):
1839

Callers

nothing calls this directly

Calls 1

check_branchesMethod · 0.95

Tested by

no test coverage detected