[PATCH 2 of 5] py3: use absolute_import in test-hgweb-no-request-uri.t
timeless
timeless at mozdev.org
Sun Apr 10 17:57:35 EDT 2016
# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1460323921 0
# Sun Apr 10 21:32:01 2016 +0000
# Node ID dcd13c34d6ae90f9f08b9d4c856c17d7bac6fe18
# Parent 512f4e60a0723ad3c7d80d669dfc0db0928afd19
py3: use absolute_import in test-hgweb-no-request-uri.t
diff --git a/tests/test-hgweb-no-request-uri.t b/tests/test-hgweb-no-request-uri.t
--- a/tests/test-hgweb-no-request-uri.t
+++ b/tests/test-hgweb-no-request-uri.t
@@ -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()
More information about the Mercurial-devel
mailing list