##// END OF EJS Templates
tests: use absolute_import in hgweberror.py
Gregory Szorc -
r27299:74e6de99 default
parent child Browse files
Show More
@@ -1,6 +1,10 b''
1 # A dummy extension that installs an hgweb command that throws an Exception.
1 # A dummy extension that installs an hgweb command that throws an Exception.
2
2
3 from mercurial.hgweb import webcommands
3 from __future__ import absolute_import
4
5 from mercurial.hgweb import (
6 webcommands,
7 )
4
8
5 def raiseerror(web, req, tmpl):
9 def raiseerror(web, req, tmpl):
6 '''Dummy web command that raises an uncaught Exception.'''
10 '''Dummy web command that raises an uncaught Exception.'''
@@ -147,7 +147,6 b''
147 tests/generate-working-copy-states.py requires print_function
147 tests/generate-working-copy-states.py requires print_function
148 tests/get-with-headers.py requires print_function
148 tests/get-with-headers.py requires print_function
149 tests/heredoctest.py requires print_function
149 tests/heredoctest.py requires print_function
150 tests/hgweberror.py not using absolute_import
151 tests/hypothesishelpers.py not using absolute_import
150 tests/hypothesishelpers.py not using absolute_import
152 tests/hypothesishelpers.py requires print_function
151 tests/hypothesishelpers.py requires print_function
153 tests/killdaemons.py not using absolute_import
152 tests/killdaemons.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now