The set theory filters need to use lists rather than generators on python3.
Also add unit tests for most of the mathstuff filters
Fixes #26494
(cherry picked from commit 75249e311e)
The set theory filters need to use lists rather than generators on python3.
Also add unit tests for most of the mathstuff filters
Fixes #26494
(cherry picked from commit 75249e311e)