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

Method test_invalid_syntax_3

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

Source from the content-addressed store, hash-verified

2957
2958 @unittest.expectedFailure # TODO: RUSTPYTHON
2959 def test_invalid_syntax_3(self):
2960 self.assert_syntax_error("""
2961 match ...:
2962 case 42 as _:
2963 pass
2964 """)
2965
2966 def test_len1_tuple_sequence_pattern_comma(self):
2967 # correct syntax would be `case(*x,):`

Callers

nothing calls this directly

Calls 1

assert_syntax_errorMethod · 0.95

Tested by

no test coverage detected