We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4fc53a commit 86f62d9Copy full SHA for 86f62d9
tests/test_parser.py
@@ -21,7 +21,7 @@
21
if hasattr(etreefull,'TreeBuilder'):
22
treetypes["ElementTree"]=etreefull.TreeBuilder
23
else:
24
- print 'module ElementTree not found, skipping etree tests'
+ sys.stderr.write('module ElementTree not found, skipping etree tests')
25
26
#Run the parse error checks
27
checkParseErrors = False
@@ -30,7 +30,7 @@ def parseTestcase(testString):
30
testString = testString.split("\n")
31
try:
32
if testString[0] != "#data":
33
- print testString
+ sys.stderr.write(testString)
34
assert testString[0] == "#data"
35
except:
36
raise
0 commit comments