xfail is better than skip

This commit is contained in:
Brian Maissy 2018-02-03 23:28:37 +02:00
parent 74633815aa
commit e64feaba7a
1 changed files with 1 additions and 1 deletions

View File

@ -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