##// END OF EJS Templates
py3: use absolute_import in test-hgweb-non-interactive.t
timeless -
r28859:af2e00c8 default
parent child Browse files
Show More
@@ -7,12 +7,19 b' by the WSGI standard and strictly implem'
7 7 $ hg add bar
8 8 $ hg commit -m "test"
9 9 $ cat > request.py <<EOF
10 > from mercurial import dispatch
11 > from mercurial.hgweb.hgweb_mod import hgweb
12 > from mercurial.ui import ui
13 > from mercurial import hg
10 > from __future__ import absolute_import
11 > import os
12 > import sys
14 13 > from StringIO import StringIO
15 > import os, sys
14 > from mercurial import (
15 > dispatch,
16 > hg,
17 > ui as uimod,
18 > )
19 > ui = uimod.ui
20 > from mercurial.hgweb.hgweb_mod import (
21 > hgweb,
22 > )
16 23 >
17 24 > class FileLike(object):
18 25 > def __init__(self, real):
General Comments 0
You need to be logged in to leave comments. Login now