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

Method test_invalid_syntax_1

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

Source from the content-addressed store, hash-verified

2942 """)
2943
2944 def test_invalid_syntax_1(self):
2945 self.assert_syntax_error("""
2946 match ...:
2947 case {"first": first, **rest, "last": last}:
2948 pass
2949 """)
2950
2951 def test_invalid_syntax_2(self):
2952 self.assert_syntax_error("""

Callers

nothing calls this directly

Calls 1

assert_syntax_errorMethod · 0.95

Tested by

no test coverage detected