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
--- 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: