diff options
author | Thomas Kluyver <takowl@gmail.com> | 2013-10-27 10:29:48 -0700 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2013-10-27 10:29:48 -0700 |
commit | af003bc2b6ebb83902439a2ab172f08603cdfed2 (patch) | |
tree | 90f0de2fa0dcee0b37d77ad2ff893bc40e7c79b7 /tests/test_timeout_pattern.py | |
parent | e2bcd062aa96f63162b86f0a38e6156f3af01583 (diff) | |
download | pexpect-git-af003bc2b6ebb83902439a2ab172f08603cdfed2.tar.gz |
Correct test for stack trace munging
Diffstat (limited to 'tests/test_timeout_pattern.py')
-rwxr-xr-x | tests/test_timeout_pattern.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_timeout_pattern.py b/tests/test_timeout_pattern.py index a8a6835..c0a9b97 100755 --- a/tests/test_timeout_pattern.py +++ b/tests/test_timeout_pattern.py @@ -66,7 +66,7 @@ class Exp_TimeoutTestCase(PexpectTestCase.PexpectTestCase): p.expect('Goodbye',timeout=5) except pexpect.TIMEOUT: err = sys.exc_info()[1] - if err.get_trace().count("pexpect.py") != 0: + if err.get_trace().count("pexpect/__init__.py") != 0: self.fail("The TIMEOUT get_trace() referenced pexpect.py. " "It should only reference the caller.\n" + err.get_trace()) |