Mercurial > hg-stable
changeset 20283:2b96073f3138
tests: test-debugcommands.t also matches stack trace on python 2.4
Some versions of python 2.4 write ? instead of <module>. Ignore this detail by
a glob.
This fixes a failure spotted on buildbot, existing since this test lines were
introduced 47d0843647d1.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Fri, 17 Jan 2014 19:46:23 +0100 |
parents | 2cfb720592fe |
children | e1e6ddaef299 |
files | tests/test-debugcommands.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-debugcommands.t Wed Jan 15 17:55:13 2014 -0600 +++ b/tests/test-debugcommands.t Fri Jan 17 19:46:23 2014 +0100 @@ -38,10 +38,10 @@ > EOF $ python debugstacktrace.py hello world at: - debugstacktrace.py:7 in <module> + debugstacktrace.py:7 in * (glob) debugstacktrace.py:5 in g debugstacktrace.py:3 in f stacktrace at: - debugstacktrace.py:7 *in <module> (glob) + debugstacktrace.py:7 *in * (glob) debugstacktrace.py:6 *in g (glob) */util.py:* in debugstacktrace (glob)