From 74633815aa55f6e38ca2ac4072cc02fb247b43f5 Mon Sep 17 00:00:00 2001 From: Brian Maissy Date: Sat, 3 Feb 2018 23:24:11 +0200 Subject: [PATCH] skip failing pdb/doctest test on mac --- changelog/985.bugfix | 1 + testing/test_pdb.py | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 changelog/985.bugfix 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..ff6d994b5 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.skipif("sys.platform == 'darwin'") def test_pdb_interaction_doctest(self, testdir): p1 = testdir.makepyfile(""" import pytest