Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Py3.3 fix for cElementTree compatibility test

  • Loading branch information...
commit 37ac199e1fa34d7f9ec819cba2c048c1819696c1 1 parent afd3a6f
scoder scoder authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/lxml/tests/
2  src/lxml/tests/
@@ -244,7 +244,7 @@ class TestFile:
def read(*args):
return 1
f = TestFile()
- self.assertRaises(TypeError, self.etree.parse, f)
+ self.assertRaises((TypeError, self.etree.ParseError), self.etree.parse, f)
class ETreeIOTestCase(_IOTestCaseBase):
Please sign in to comment.
Something went wrong with that request. Please try again.