# HG changeset patch # User Robert Stanca # Date 2016-04-04 00:16:18 # Node ID 84673a7c54af4d6418dc3ef57e6e8730fbd54862 # Parent 7e5744e8334c4695ac084a771a00685b299ecc28 py3: use absolute_import in test-propertycache.py diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -62,7 +62,6 @@ tests/test-manifest.py not using absolute_import tests/test-pathencode.py not using absolute_import tests/test-pathencode.py requires print_function - tests/test-propertycache.py not using absolute_import tests/test-propertycache.py requires print_function tests/test-revlog-ancestry.py not using absolute_import tests/test-revlog-ancestry.py requires print_function diff --git a/tests/test-propertycache.py b/tests/test-propertycache.py --- a/tests/test-propertycache.py +++ b/tests/test-propertycache.py @@ -4,7 +4,9 @@ The repoview overlay is quite complex. W property cache of both localrepo and repoview to prevent regression.""" -import os, subprocess +from __future__ import absolute_import +import os +import subprocess import mercurial.localrepo import mercurial.repoview import mercurial.util