summaryrefslogtreecommitdiff
path: root/tests/test_timeout_pattern.py
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2013-10-27 10:29:48 -0700
committerThomas Kluyver <takowl@gmail.com>2013-10-27 10:29:48 -0700
commitaf003bc2b6ebb83902439a2ab172f08603cdfed2 (patch)
tree90f0de2fa0dcee0b37d77ad2ff893bc40e7c79b7 /tests/test_timeout_pattern.py
parente2bcd062aa96f63162b86f0a38e6156f3af01583 (diff)
downloadpexpect-git-af003bc2b6ebb83902439a2ab172f08603cdfed2.tar.gz
Correct test for stack trace munging
Diffstat (limited to 'tests/test_timeout_pattern.py')
-rwxr-xr-xtests/test_timeout_pattern.py2
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())