tests: make test-status.t compatible with test-check-module-imports.t
Otherwise the later fails on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D6072
--- a/tests/test-status.t Tue Mar 05 04:11:32 2019 +0530
+++ b/tests/test-status.t Tue Mar 05 04:32:23 2019 +0530
@@ -290,7 +290,8 @@
$ hg status -A -Tpickle > pickle
>>> from __future__ import print_function
- >>> from mercurial.util import pickle
+ >>> from mercurial import util
+ >>> pickle = util.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