summaryrefslogtreecommitdiff
path: root/tests/functional/a/assert_on_tuple.py
blob: e360737e689629e7dd1c95633aa4d990d80e9374 (plain)
1
2
3
4
5
6
7
8
9
10
11
'''Assert check example'''

# pylint: disable=misplaced-comparison-constant, comparison-with-itself
assert (1 == 1, 2 == 2), "no error"
assert (1 == 1, 2 == 2) # [assert-on-tuple]
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') # [assert-on-tuple]