Avoid crashing on stdDeviation attribute
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
c504891bd7
commit
8a2892b458
3 changed files with 24 additions and 2 deletions
12
testscour.py
12
testscour.py
|
|
@ -1577,7 +1577,17 @@ class RemoveDefaultAttributeOrderSVGLengthCrash(unittest.TestCase):
|
|||
try:
|
||||
scourXmlFile('unittests/remove-default-attr-order.svg')
|
||||
except AttributeError:
|
||||
self.fail("Processing the order attribute triggered an AttributeError ")
|
||||
self.fail("Processing the order attribute triggered an AttributeError")
|
||||
|
||||
|
||||
class RemoveDefaultAttributeStdDeviationSVGLengthCrash(unittest.TestCase):
|
||||
|
||||
# Triggered a crash in v0.36
|
||||
def runTest(self):
|
||||
try:
|
||||
scourXmlFile('unittests/remove-default-attr-std-deviation.svg')
|
||||
except AttributeError:
|
||||
self.fail("Processing the order attribute triggered an AttributeError")
|
||||
|
||||
|
||||
class CDATAInXml(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue