summaryrefslogtreecommitdiff
path: root/src/lxml/html/tests
diff options
context:
space:
mode:
authorscoder <none@none>2010-11-23 15:37:09 +0100
committerscoder <none@none>2010-11-23 15:37:09 +0100
commit8f99c4bf8f1952fc97cd3263a389dc7a2596163e (patch)
tree75ea1b3aa85e43f9d9fc810deb9adf732393ed75 /src/lxml/html/tests
parent88706daea1a897b7480d8f23fd9bb823f853f8be (diff)
downloadpython-lxml-8f99c4bf8f1952fc97cd3263a389dc7a2596163e.tar.gz
[svn r4492] make some non-public source files Py3 compliant (patch by Arfrever Frehtes Taifersar Arahesis)
--HG-- branch : trunk
Diffstat (limited to 'src/lxml/html/tests')
-rw-r--r--src/lxml/html/tests/transform_feedparser_data.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lxml/html/tests/transform_feedparser_data.py b/src/lxml/html/tests/transform_feedparser_data.py
index a34b9650..d340912b 100644
--- a/src/lxml/html/tests/transform_feedparser_data.py
+++ b/src/lxml/html/tests/transform_feedparser_data.py
@@ -88,10 +88,10 @@ def translate_file(filename):
try:
output = serialize_content(parse_content(c))
except:
- print 'Bad data in %s:' % filename
- print c
+ print('Bad data in %s:' % filename)
+ print(c)
traceback.print_exc()
- print '-'*60
+ print('-'*60)
return
new = os.path.splitext(filename)[0] + '.data'
f = open(new, 'wb')