Mercurial > hg
comparison tests/test-check-code.t @ 19494:3119dc155ac2 stable
check-code: do not abort on an unreadable file, only report this
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Mon, 22 Jul 2013 10:04:45 +0200 |
parents | d9e86d656017 |
children | 725507cd5216 |
comparison
equal
deleted
inserted
replaced
19493:ca76e77dd663 | 19494:3119dc155ac2 |
---|---|
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 |