diff options
author | Leonard Richardson <leonardr@segfault.org> | 2023-01-25 16:18:13 -0500 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2023-01-25 16:18:13 -0500 |
commit | 12ad184120ad7ddebe63462daf3c6f1a64fb4338 (patch) | |
tree | e7899eb5b476ba408aa6dba6e7480758cc143b10 /bs4/tests/test_pageelement.py | |
parent | 37c36a2dc4ecc00fe0f066789f2a7fd5caf069fe (diff) |
Tag.interesting_string_types is now propagated when a tag is
copied. [bug=1990400]
Diffstat (limited to 'bs4/tests/test_pageelement.py')
-rw-r--r-- | bs4/tests/test_pageelement.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bs4/tests/test_pageelement.py b/bs4/tests/test_pageelement.py index 26783f2..75bab04 100644 --- a/bs4/tests/test_pageelement.py +++ b/bs4/tests/test_pageelement.py @@ -694,6 +694,7 @@ class TestPersistence(SoupTest): assert tag.can_be_empty_element == copied.can_be_empty_element assert tag.cdata_list_attributes == copied.cdata_list_attributes assert tag.preserve_whitespace_tags == copied.preserve_whitespace_tags + assert tag.interesting_string_types == copied.interesting_string_types def test_unicode_pickle(self): # A tree containing Unicode characters can be pickled. |