Mercurial > hg-stable
changeset 29161:f8b274df33dc
py3: make tests/hghave use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 13 May 2016 03:31:07 +0530 |
parents | 0362605b82cf |
children | 5a3197cbe415 |
files | tests/hghave |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave Fri May 13 03:28:44 2016 +0530 +++ b/tests/hghave Fri May 13 03:31:07 2016 +0530 @@ -4,11 +4,12 @@ prefixed with "no-", the absence of feature is tested. """ -from __future__ import print_function +from __future__ import absolute_import, print_function +import hghave import optparse -import os, sys -import hghave +import os +import sys checks = hghave.checks