Mercurial > hg
changeset 28858:ba7809b053fd
py3: use absolute_import in test-hgweb-no-request-uri.t
author | timeless <timeless@mozdev.org> |
---|---|
date | Sun, 10 Apr 2016 21:32:01 +0000 |
parents | 9f67cf7cc28e |
children | af2e00c85d0a |
files | tests/test-hgweb-no-request-uri.t |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hgweb-no-request-uri.t Sun Apr 10 21:31:58 2016 +0000 +++ b/tests/test-hgweb-no-request-uri.t Sun Apr 10 21:32:01 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()