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

Method test_invalid_syntax_2

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

Source from the content-addressed store, hash-verified

2946 """)
2947
2948 def test_invalid_syntax_2(self):
2949 self.assert_syntax_error("""
2950 match ...:
2951 case {**_}:
2952 pass
2953 """)
2954
2955 def test_invalid_syntax_3(self):
2956 self.assert_syntax_error("""

Callers

nothing calls this directly

Calls 1

assert_syntax_errorMethod · 0.95

Tested by

no test coverage detected