Merge pull request #3187 from brianmaissy/bugfix/skip_failing_pdb_doctest_test_on_mac

skip failing pdb/doctest test on mac
This commit is contained in:
Bruno Oliveira 2018-02-03 23:35:39 -02:00 committed by GitHub
commit 9202ba91cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.xfail("sys.platform == 'darwin'", reason='See issue #985', run=False)
def test_pdb_interaction_doctest(self, testdir):
p1 = testdir.makepyfile("""
import pytest