Mercurial > hg-stable
diff tests/test-filecache.py @ 28741:fc5f548393bf
py3: use absolute_import in test-filecache.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sun, 03 Apr 2016 17:01:07 +0300 |
parents | ce26928cbe41 |
children | a08c90d622eb |
line wrap: on
line diff
--- a/tests/test-filecache.py Sun Apr 03 16:58:43 2016 +0300 +++ b/tests/test-filecache.py Sun Apr 03 17:01:07 2016 +0300 @@ -1,4 +1,7 @@ -import sys, os, subprocess +from __future__ import absolute_import +import os +import subprocess +import sys if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']):