diff options
author | David Douard <david.douard@logilab.fr> | 2007-06-18 12:12:05 +0200 |
---|---|---|
committer | David Douard <david.douard@logilab.fr> | 2007-06-18 12:12:05 +0200 |
commit | f4b2fb4c9671b11a5adbaccef0b3036857d18f2c (patch) | |
tree | 7b99e4319642ffe5de94c075298795aa3a9ba234 | |
parent | 86525fb8234a100ef3a445d8dca44fddf4ae04e0 (diff) | |
download | logilab-common-f4b2fb4c9671b11a5adbaccef0b3036857d18f2c.tar.gz |
small cleanup (hand made commit from alf's repo, for technical reasons)
-rw-r--r-- | pytest.py | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -10,7 +10,7 @@ pytest one (will run both test_thisone and test_thatone) pytest path/to/mytests.py -s not (will skip test_notthisone) pytest --coverage test_foo.py - (only of logilab.devtools is available) + (only if logilab.devtools is available) """ import os, sys @@ -321,13 +321,11 @@ def parseargs(): try: from logilab.devtools.lib.coverage import Coverage - except ImportError: - print "kouch kouch" - pass - else: parser.add_option('--coverage', dest="coverage", default=False, action="store_true", help="run tests with pycoverage (conflicts with --pdb)") + except ImportError: + pass # parse the command line options, args = parser.parse_args() |