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.
--- 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)