From 43f970ab6b4c58f8704e7a1d6b6d0dd86511eb6f Mon Sep 17 00:00:00 2001 From: lakka Date: Thu, 19 Dec 2013 22:41:07 +0000 Subject: [PATCH] Minor doc fix in skipping.txt. Also submitted at Github before I realised that this was the master repo. Will close over there. --HG-- branch : /minor-doc-fix-in-skippingtxt-also-submi-1387492852421 --- doc/en/skipping.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/skipping.txt b/doc/en/skipping.txt index 422ecf526..2753b04a6 100644 --- a/doc/en/skipping.txt +++ b/doc/en/skipping.txt @@ -212,7 +212,7 @@ imperatively, in test or setup code:: if not valid_config(): pytest.xfail("failing configuration (but should work)") # or - pytest.skipif("unsupported configuration") + pytest.skip("unsupported configuration") Skipping on a missing import dependency