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

Method test_invalid_raise

Lib/test/test_unparse.py:474–475  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

472 self.check_ast_roundtrip("a[i:j, k]")
473
474 def test_invalid_raise(self):
475 self.check_invalid(ast.Raise(exc=None, cause=ast.Name(id="X", ctx=ast.Load())))
476
477 def test_invalid_fstring_value(self):
478 self.check_invalid(

Callers

nothing calls this directly

Calls 2

LoadMethod · 0.80
check_invalidMethod · 0.45

Tested by

no test coverage detected