We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820c279 commit 885815dCopy full SHA for 885815d
testing/test_pdb.py
@@ -4,7 +4,6 @@
4
from __future__ import print_function
5
6
import os
7
-import platform
8
import sys
9
10
import six
@@ -153,10 +152,11 @@ def test_func():
153
152
154
@staticmethod
155
def flush(child):
156
- if platform.system() == "Darwin":
157
- return
158
if child.isalive():
+ # Read if the test has not (e.g. test_pdb_unittest_skip).
+ child.read()
159
child.wait()
+ assert not child.isalive()
160
161
def test_pdb_unittest_postmortem(self, testdir):
162
p1 = testdir.makepyfile(
0 commit comments