tests: test-debugcommands.t also matches stack trace on python 2.4
authorSimon Heimberg <simohe@besonet.ch>
Fri, 17 Jan 2014 19:46:23 +0100
changeset 20283 2b96073f3138
parent 20282 2cfb720592fe
child 20284 e1e6ddaef299
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.
tests/test-debugcommands.t
--- 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)