[PATCH 02 of 11] tests: backout a82de9dc4f77, debugstacktrace is now stable, drop workaround

Mads Kiilerich mads at kiilerich.com
Wed Feb 19 19:43:26 CST 2014


# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1392860321 -3600
#      Thu Feb 20 02:38:41 2014 +0100
# Node ID 833685c6cbcac58df3aaf311c21f0c6b4223e2fc
# Parent  94a0e47043f2a95a5dea81303c9f34b85090bdb2
tests: backout a82de9dc4f77, debugstacktrace is now stable, drop workaround

diff --git a/tests/test-debugcommands.t b/tests/test-debugcommands.t
--- a/tests/test-debugcommands.t
+++ b/tests/test-debugcommands.t
@@ -33,16 +33,15 @@ Test internal debugstacktrace command
   >     dst('hello world')
   > def g():
   >     f()
-  >     sys.stderr.flush()
   >     debugstacktrace(skip=-5, f=sys.stdout)
   > g()
   > EOF
   $ python debugstacktrace.py
   hello world at:
-   debugstacktrace.py:8 in * (glob)
+   debugstacktrace.py:7 in * (glob)
    debugstacktrace.py:5 in g
    debugstacktrace.py:3 in f
   stacktrace at:
-   debugstacktrace.py:8 *in * (glob)
-   debugstacktrace.py:7 *in g (glob)
+   debugstacktrace.py:7 *in * (glob)
+   debugstacktrace.py:6 *in g (glob)
    */util.py:* in debugstacktrace (glob)


More information about the Mercurial-devel mailing list