ruff/crates/ruff_python_parser/resources/valid/statement/assert.py

12 lines
186 B
Python

assert 1 < 2
assert call()
assert a and b
assert lambda x: y
assert await x
assert x if True else y
assert x, "error"
assert x, lambda x: y
assert x, await x
assert x, x if True else y