# HG changeset patch # User FUJIWARA Katsunori # Date 2019-02-17 15:27:25 # Node ID 67333663d49e8256c3057ebc2be8f020ec290297 # Parent 6462bbb91b5306ad736c2f5f182a0534e56be41f tests: replace imported module to avoid check-code.py error This is a part of preparation to apply checking with check-code.py on code fragments embedded in *.t test scripts. diff --git a/tests/test-status.t b/tests/test-status.t --- a/tests/test-status.t +++ b/tests/test-status.t @@ -290,7 +290,7 @@ hg status -A: $ hg status -A -Tpickle > pickle >>> from __future__ import print_function - >>> import pickle + >>> from mercurial.util import pickle >>> data = sorted((x[b'status'].decode(), x[b'path'].decode()) for x in pickle.load(open("pickle", r"rb"))) >>> for s, p in data: print("%s %s" % (s, p)) ! deleted