diff --git a/changelog/985.bugfix b/changelog/985.bugfix new file mode 100644 index 000000000..cf4c2fe2c --- /dev/null +++ b/changelog/985.bugfix @@ -0,0 +1 @@ +Skip failing pdb/doctest test on mac. \ No newline at end of file diff --git a/testing/test_pdb.py b/testing/test_pdb.py index 8618473bb..b286d57a8 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -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