# HG changeset patch # User Pulkit Goyal # Date 1551740543 -19800 # Node ID 2105ed01c4311a5317cea9f6379afa5cb1e601d3 # Parent 25420df879030226e9df238586b4a58f88aa42df 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 diff -r 25420df87903 -r 2105ed01c431 tests/test-status.t --- 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