--- a/tests/test-parseindex.t Thu Oct 18 21:55:47 2018 -0400
+++ b/tests/test-parseindex.t Wed Oct 17 23:33:43 2018 -0400
@@ -27,8 +27,7 @@
$ cat >> test.py << EOF
> from __future__ import print_function
- > from mercurial import changelog, vfs
- > from mercurial.node import *
+ > from mercurial import changelog, node, vfs
>
> class singlebyteread(object):
> def __init__(self, real):
@@ -59,7 +58,7 @@
> cl = changelog.changelog(opener('.hg/store'))
> print(len(cl), 'revisions:')
> for r in cl:
- > print(short(cl.node(r)))
+ > print(node.short(cl.node(r)))
> EOF
$ "$PYTHON" test.py
2 revisions: