summaryrefslogtreecommitdiff
path: root/test/input/func_assert_2uple.py
blob: a6746ce0b5fc47ddec7d7a1b48c3d270389f03cb (plain)
1
2
3
4
5
6
7
8
9
10
11
'''Assert check example'''
__revision__ = 0

assert (1 == 1, 2 == 2), "no error"
assert (1 == 1, 2 == 2) #this should generate a warning
assert 1 == 1, "no error"
assert (1 == 1, ), "no error"
assert (1 == 1, )
assert (1 == 1, 2 == 2, 3 == 5), "no error"
assert ()
assert (True,'error msg') #this should generate a warning