summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_assert_2uple.py
blob: de93d3b37046fdd65252723130bc4dec2247831f (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