summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Douchant <Fabrice.Douchant@logilab.fr>2008-11-04 18:36:51 +0100
committerFabrice Douchant <Fabrice.Douchant@logilab.fr>2008-11-04 18:36:51 +0100
commitd943a302b374b0bb28d48b148f1579e74a22ec23 (patch)
tree85ba28f52504193ec6bdea0b9cc16a4f65d9fe01
parentf38ae25f079612a42a0649abcc4c50440345e114 (diff)
downloadlogilab-common-d943a302b374b0bb28d48b148f1579e74a22ec23.tar.gz
pytest option --restart : shortcut -r is now -R (conflict with another option)
-rw-r--r--pytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pytest.py b/pytest.py
index 16f39a4..bda8564 100644
--- a/pytest.py
+++ b/pytest.py
@@ -583,7 +583,7 @@ def make_parser():
dest="exitfirst", default=False,
action="callback", help="Exit on first failure "
"(only make sense when pytest run one test file)")
- parser.add_option('-r', '--restart', callback=rebuild_and_store,
+ parser.add_option('-R', '--restart', callback=rebuild_and_store,
dest="restart", default=False,
action="callback",
help="Restart tests from where it failed (implies exitfirst) "