summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2014-10-09 17:15:34 -0700
committerThomas Kluyver <takowl@gmail.com>2014-11-23 16:39:20 -0800
commit42ad200fa0b65e6f12f9962ca99a0743e37c9660 (patch)
tree87f9e1d7f63020306b0b4b1ac40c608d1ddd8945 /tests
parentb65557aad9c6a7d611f977d403b152dff6df749f (diff)
downloadpexpect-git-42ad200fa0b65e6f12f9962ca99a0743e37c9660.tar.gz
Delegate more methods to ptyprocess
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_misc.py b/tests/test_misc.py
index a2245aa..9e44bab 100755
--- a/tests/test_misc.py
+++ b/tests/test_misc.py
@@ -191,7 +191,7 @@ class TestCaseMisc(PexpectTestCase.PexpectTestCase):
child = pexpect.spawn('cat')
child.terminate(force=1)
# Force an invalid state to test isalive
- child.terminated = 0
+ child.ptyproc.terminated = 0
try:
with self.assertRaisesRegexp(pexpect.ExceptionPexpect,
".*" + expect_errmsg):