tests: remove __future__ import from test-debugcommands.t
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 20 Feb 2022 16:42:58 -0700
changeset 48968 fcb34c099259
parent 48967 42d2b31cee0b
child 48969 0583d7f0fdff
tests: remove __future__ import from test-debugcommands.t This one is slightly more involved since it affects test output. Differential Revision: https://phab.mercurial-scm.org/D12256
tests/test-debugcommands.t
--- a/tests/test-debugcommands.t	Sun Feb 20 15:28:44 2022 -0700
+++ b/tests/test-debugcommands.t	Sun Feb 20 16:42:58 2022 -0700
@@ -570,7 +570,6 @@
 Test internal debugstacktrace command
 
   $ cat > debugstacktrace.py << EOF
-  > from __future__ import absolute_import
   > from mercurial import (
   >     util,
   > )
@@ -589,15 +588,15 @@
   > EOF
   $ "$PYTHON" debugstacktrace.py
   stacktrace at:
-   *debugstacktrace.py:16 in * (glob)
-   *debugstacktrace.py:9  in f (glob)
+   *debugstacktrace.py:15 in * (glob)
+   *debugstacktrace.py:8  in f (glob)
   hello from g at:
-   *debugstacktrace.py:16 in * (glob)
-   *debugstacktrace.py:10 in f (glob)
+   *debugstacktrace.py:15 in * (glob)
+   *debugstacktrace.py:9  in f (glob)
   hi ...
   from h hidden in g at:
-   *debugstacktrace.py:10 in f (glob)
-   *debugstacktrace.py:13 in g (glob)
+   *debugstacktrace.py:9  in f (glob)
+   *debugstacktrace.py:12 in g (glob)
 
 Test debugcapabilities command: