Skip to content

Commit

Permalink
use ^C instead, ^D unreliable on TRAVIS-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Sep 20, 2015
1 parent bcc1700 commit 0320e91
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_interact.py
Expand Up @@ -26,7 +26,6 @@
import pexpect
import unittest
import sys
import platform
from . import PexpectTestCase


Expand Down Expand Up @@ -66,9 +65,7 @@ def test_interact_escape_None(self):
p.sendcontrol(']')
p.sendline('')
p.expect('<out>\x1d')
p.sendcontrol('d')
if platform.python_implementation() != 'PyPy':
p.expect('<eof>')
p.sendcontrol('c')
p.expect_exact('Escaped interact')
p.expect(pexpect.EOF)
assert not p.isalive()
Expand Down

0 comments on commit 0320e91

Please sign in to comment.