Mercurial > hg
changeset 28755:84673a7c54af
py3: use absolute_import in test-propertycache.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Mon, 04 Apr 2016 03:16:18 +0300 |
parents | 7e5744e8334c |
children | 45954a251a40 |
files | tests/test-check-py3-compat.t tests/test-propertycache.py |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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