Skip to content

Commit f94a787

Browse files
committed
Fix test for Windows.
1 parent 6b5817a commit f94a787

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def test_backlog_subprocess(LineMatcher):
772772
@pytest.mark.parametrize('pdb', ['pdb', 'ipdb'])
773773
@pytest.mark.parametrize('mode', ['postmortem', 'settrace', 'debugger'])
774774
def test_pdb(LineMatcher, pdb, mode):
775-
with TestProcess('python', '-msamplepdb', pdb, mode, stdin=subprocess.PIPE) as target, dump_on_error(target.read):
775+
with TestProcess(sys.executable, '-msamplepdb', pdb, mode, bufsize=0, stdin=subprocess.PIPE) as target, dump_on_error(target.read):
776776
wait_for_strings(target.read, TIMEOUT, '-> ')
777777
target.proc.stdin.write('c\n')
778778
output = target.read()

0 commit comments

Comments
 (0)