comparison tests/test-minirst.py @ 28751:67a4e42a651f

py3: use absolute_import in test-minirst.py
author Robert Stanca <robert.stanca7@gmail.com>
date Mon, 04 Apr 2016 03:00:43 +0300
parents af9d9b778550
children 6b2f9a4e2f97
comparison
equal deleted inserted replaced
28750:2b0d7be90fc4 28751:67a4e42a651f
1 from pprint import pprint 1 from __future__ import absolute_import
2 from mercurial import minirst 2 from pprint import (
3 pprint,
4 )
5 from mercurial import (
6 minirst,
7 )
3 8
4 def debugformat(text, form, **kwargs): 9 def debugformat(text, form, **kwargs):
5 if form == 'html': 10 if form == 'html':
6 print "html format:" 11 print "html format:"
7 out = minirst.format(text, style=form, **kwargs) 12 out = minirst.format(text, style=form, **kwargs)