lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 629c7393 authored by Fred Drake's avatar Fred Drake

XMLParserTestCase.check_bad_nesting():
    Use self.fail() instead of naming AssertionError directly; how PyUnit
    deals with the error is it's problem, not ours.  ;-)
parent e70583b7
......@@ -151,7 +151,7 @@ text
self.assert_(e.lineno == 1,
"did not receive correct position information")
else:
raise AssertionError("expected parse error: bad nesting")
self.fail("expected parse error: bad nesting")
def check_attr_syntax(self):
output = [
......
......@@ -151,7 +151,7 @@ text
self.assert_(e.lineno == 1,
"did not receive correct position information")
else:
raise AssertionError("expected parse error: bad nesting")
self.fail("expected parse error: bad nesting")
def check_attr_syntax(self):
output = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment