summaryrefslogtreecommitdiff
path: root/tests/test_interact.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_interact.py')
-rwxr-xr-xtests/test_interact.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_interact.py b/tests/test_interact.py
index 86a5b7c..5bf44f9 100755
--- a/tests/test_interact.py
+++ b/tests/test_interact.py
@@ -26,6 +26,7 @@ import os
import pexpect
import unittest
import sys
+import platform
from . import PexpectTestCase
@@ -66,7 +67,8 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase):
p.sendline('')
p.expect('<out>\x1d')
p.sendcontrol('d')
- p.expect('<eof>')
+ if platform.python_implementation() != 'PyPy':
+ p.expect('<eof>')
p.expect_exact('Escaped interact')
p.expect(pexpect.EOF)
assert not p.isalive()