skip failing pdb/doctest test on mac

This commit is contained in:
Brian Maissy 2018-02-03 23:24:11 +02:00
parent 8c81722a0c
commit 74633815aa
2 changed files with 5 additions and 0 deletions

1
changelog/985.bugfix Normal file
View File

@ -0,0 +1 @@
Skip failing pdb/doctest test on mac.

View File

@ -267,6 +267,10 @@ class TestPDB(object):
child.read()
self.flush(child)
# 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'")
def test_pdb_interaction_doctest(self, testdir):
p1 = testdir.makepyfile("""
import pytest