Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ syntax_forbidden_name.py
File
syntax_forbidden_name.py
extra_tests/snippets/syntax_forbidden_name.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
testutils
import
assert_raises
2
3
def
raisesSyntaxError(parse_stmt, exec_stmt=None):
4
with
assert_raises(SyntaxError):
Callers
nothing calls this directly
Calls
1
raisesSyntaxError
Function · 0.85
Tested by
no test coverage detected