Files
RustPython/extra_tests/snippets/syntax_indent.py
2022-05-04 02:54:59 +09:00

12 lines
239 B
Python

# WARNING! This file contains mixed tabs and spaces
# (because that's what it is testing)
def weird_indentation():
return_value = "hi"
if False:
return return_value
return "hi"
assert weird_indentation() == "hi"