summaryrefslogtreecommitdiff
path: root/testsuite/W60.py
blob: 973d22ff9e9092246969b028c1ddb5d1497499e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#: W601
if a.has_key("b"):
    print a
#: W602
raise DummyError, "Message"
#: W602
raise ValueError, "hello %s %s" % (1, 2)
#: Okay
raise type_, val, tb
raise Exception, Exception("f"), t
#: W603
if x <> 0:
    x = 0
#: W604
val = `1 + 2`