Chris Withers <ch...@withers.org> added the comment:
Agreed, this would be better placed in a third party library. There's examples out there already, for example, I maintain a library [0] that has tools for asserting about complex data structures, including flexible type matching [1] and regex string matching [2]. [0] https://testfixtures.readthedocs.io/en/latest/comparing.html#the-compare-function [1] https://testfixtures.readthedocs.io/en/latest/comparing.html#comparison-objects [2] https://testfixtures.readthedocs.io/en/latest/comparing.html#string-comparison-objects Diego, would you be okay if we closed this issue and the accompanying pull request? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40133> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com