Prevent scour from trying to remove a duplicate gradient more than once
This commit is contained in:
parent
b119af0499
commit
46f86a0978
4 changed files with 13 additions and 3 deletions
|
|
@ -677,6 +677,8 @@ class RereferenceForLinearGradient(unittest.TestCase):
|
|||
rects = svgdoc.getElementsByTagNameNS(SVGNS, 'rect')
|
||||
self.assertEquals(rects[0].getAttribute('fill'), rects[1].getAttribute('stroke'),
|
||||
'Rect not changed after removing duplicate linear gradient')
|
||||
self.assertEquals(rects[0].getAttribute('fill'), rects[4].getAttribute('fill'),
|
||||
'Rect not changed after removing duplicate linear gradient')
|
||||
|
||||
class RemoveDuplicateRadialGradients(unittest.TestCase):
|
||||
def runTest(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue