mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
12 lines
324 B
Python
12 lines
324 B
Python
'''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
|