Mercurial > hg-stable
changeset 28857:9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
author | timeless <timeless@mozdev.org> |
---|---|
date | Sun, 10 Apr 2016 21:31:58 +0000 |
parents | 0d530299acf2 |
children | ba7809b053fd |
files | tests/test-hgweb-no-path-info.t |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hgweb-no-path-info.t Mon Apr 11 00:18:27 2016 +0100 +++ b/tests/test-hgweb-no-path-info.t Sun Apr 10 21:31:58 2016 +0000 @@ -15,9 +15,14 @@ summary: test $ cat > request.py <<EOF - > from mercurial.hgweb import hgweb, hgwebdir + > from __future__ import absolute_import + > import os + > import sys > from StringIO import StringIO - > import os, sys + > from mercurial.hgweb import ( + > hgweb, + > hgwebdir, + > ) > > errors = StringIO() > input = StringIO()