# HG changeset patch # User Robert Stanca # Date 1459728978 -10800 # Node ID 84673a7c54af4d6418dc3ef57e6e8730fbd54862 # Parent 7e5744e8334c4695ac084a771a00685b299ecc28 py3: use absolute_import in test-propertycache.py diff -r 7e5744e8334c -r 84673a7c54af tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Mon Apr 04 03:14:16 2016 +0300 +++ b/tests/test-check-py3-compat.t Mon Apr 04 03:16:18 2016 +0300 @@ -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 -r 7e5744e8334c -r 84673a7c54af tests/test-propertycache.py --- a/tests/test-propertycache.py Mon Apr 04 03:14:16 2016 +0300 +++ b/tests/test-propertycache.py Mon Apr 04 03:16:18 2016 +0300 @@ -4,7 +4,9 @@ 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