D12256: tests: remove __future__ import from test-debugcommands.t
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Mar 2 00:44:14 UTC 2022
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This one is slightly more involved since it affects test output.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12256
AFFECTED FILES
tests/test-debugcommands.t
CHANGE DETAILS
diff --git a/tests/test-debugcommands.t b/tests/test-debugcommands.t
--- a/tests/test-debugcommands.t
+++ b/tests/test-debugcommands.t
@@ -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:
To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list