summaryrefslogtreecommitdiff
path: root/tests/errors/mod_errors.pyx
blob: 43a5cd1bdab15e0382dc9dc17aa4c30e2763766b (plain)
1
2
3
4
5
6
7
8
9
# mode: error

def mod_complex():
    x = (1.1+2.0j) % 4
    return x

_ERRORS = """
4:19: mod operator not supported for type 'double complex'
"""