diff options
Diffstat (limited to 'pexpect/tests/test_isalive.py')
-rwxr-xr-x | pexpect/tests/test_isalive.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pexpect/tests/test_isalive.py b/pexpect/tests/test_isalive.py index 5b7e91b..2210884 100755 --- a/pexpect/tests/test_isalive.py +++ b/pexpect/tests/test_isalive.py @@ -8,6 +8,7 @@ class IsAliveTestCase(unittest.TestCase): def test_expect_isalive1 (self): p = pexpect.spawn('ls') p.expect(pexpect.EOF) + time.sleep(1) # allow kernel status time to catch up with state. if p.isalive(): self.fail ('Child process is not dead. It should be.') |