equal
deleted
inserted
replaced
185 $ cat > raise-format.py <<EOF |
185 $ cat > raise-format.py <<EOF |
186 > raise SomeException, message |
186 > raise SomeException, message |
187 > # this next line is okay |
187 > # this next line is okay |
188 > raise SomeException(arg1, arg2) |
188 > raise SomeException(arg1, arg2) |
189 > EOF |
189 > EOF |
190 $ "$check_code" raise-format.py |
190 $ "$check_code" not-existing.py raise-format.py |
|
191 Skipping*not-existing.py* (glob) |
191 raise-format.py:1: |
192 raise-format.py:1: |
192 > raise SomeException, message |
193 > raise SomeException, message |
193 don't use old-style two-argument raise, use Exception(message) |
194 don't use old-style two-argument raise, use Exception(message) |
194 [1] |
195 [1] |
|
196 |