summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Cullen <david.cullen@technicolor.com>2016-06-29 10:16:55 -0400
committerDavid Cullen <david.cullen@technicolor.com>2016-06-29 10:16:55 -0400
commit507a427e235afb1255308ca72051b7e7e9067142 (patch)
treec16044976aba367ba97d64ba20c7008f47818fb5 /tests
parent30197ac0c0f0d1c02501123427ef1f91b4c14ea0 (diff)
downloadpexpect-git-507a427e235afb1255308ca72051b7e7e9067142.tar.gz
Fix test_maxread.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_socket.py b/tests/test_socket.py
index bd72a5d..4f100ed 100644
--- a/tests/test_socket.py
+++ b/tests/test_socket.py
@@ -207,7 +207,7 @@ class ExpectTestCase(PexpectTestCase.PexpectTestCase):
session.expect(self.prompt2)
session.send(self.enter)
session.expect(self.prompt3)
- session.send(self.enter)
+ session.send(self.exit)
session.expect(pexpect.EOF)
self.assertEqual(session.before, b'')