def test_error(self):
try:
html.transform(test_file_path('erroneous', 'asnyk_miedzy_nami.xml'),
test_file_path('erroneous', 'asnyk_miedzy_nami.html'))
self.fail()
except etree.XMLSyntaxError, e:
def test_error(self):
try:
html.transform(test_file_path('erroneous', 'asnyk_miedzy_nami.xml'),
test_file_path('erroneous', 'asnyk_miedzy_nami.html'))
self.fail()
except etree.XMLSyntaxError, e: