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

Method test_invalid_syntax_0

Lib/test/test_patma.py:2934–2939  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2932 """)
2933
2934 def test_invalid_syntax_0(self):
2935 self.assert_syntax_error("""
2936 match ...:
2937 case {**rest, "key": value}:
2938 pass
2939 """)
2940
2941 def test_invalid_syntax_1(self):
2942 self.assert_syntax_error("""

Callers

nothing calls this directly

Calls 1

assert_syntax_errorMethod · 0.95

Tested by

no test coverage detected