diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_misc.py | 2 |
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): |