summaryrefslogtreecommitdiff
path: root/tests/errors/e_binop_and.pyx
blob: 195677bdf18522af89cdbeb4be51e668b36593e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# mode: error
# tag: and, binop, warnings

def test_and(a, b):
    return a && b


_WARNINGS = """
5:13: Found the C operator '&&', did you mean the Python operator 'and'?
"""

_ERRORS = """
5:13: Syntax error in simple statement list
"""