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

Method test_unexpected_indent

Lib/test/test_syntax.py:2405–2407  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2403 msg, lineno=2)
2404
2405 def test_unexpected_indent(self):
2406 self._check_error("foo()\n bar()\n", "unexpected indent",
2407 subclass=IndentationError)
2408
2409 def test_no_indent(self):
2410 self._check_error("if 1:\nfoo()", "expected an indented block",

Callers

nothing calls this directly

Calls 1

_check_errorMethod · 0.95

Tested by

no test coverage detected