From e64feaba7ab05e06b65dc6b9a722a4f39c01cd58 Mon Sep 17 00:00:00 2001 From: Brian Maissy Date: Sat, 3 Feb 2018 23:28:37 +0200 Subject: [PATCH] xfail is better than skip --- testing/test_pdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_pdb.py b/testing/test_pdb.py index ff6d994b5..b286d57a8 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -270,7 +270,7 @@ class TestPDB(object): # For some reason the interaction between doctest's and pytest's output # capturing mechanisms are messing up the stdout on mac. (See #985). # Should be solvable, but skipping until we have a chance to investigate. - @pytest.mark.skipif("sys.platform == 'darwin'") + @pytest.mark.xfail("sys.platform == 'darwin'", reason='See issue #985', run=False) def test_pdb_interaction_doctest(self, testdir): p1 = testdir.makepyfile(""" import pytest