Skip to content

Fix failing tests caused by cset 964f949c6c78 for issue #912 on 2.5 branch

Bitbucket Importer requested to merge bitbucket/merged-pr-218 into branch/2.4

Created originally on Bitbucket by zeripath (Andrew Thornton)

Was already merged in Bitbucket before import, marked as merged by the import user

This fixes test_stylesheet.py test_split_named_styles test by adjusting the way StyleArray is copied avoiding trying to deep copy its internal list and, adjusting the NamedStyle so that the _wb and _style attributes are declared ensuring that these are created on deepcopy.

Merge request reports