Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
For other types we do not have such strict tests. We just test that pickling roundtrips (it is already tested for zip() in other tests). There are few tests that unpickling some exact byte strings produces the expected value, but these tests are in pickletester.py, because they test the unpickling machinery. If unpickling of some type depends on some private constructor (like re._compile), that constructor can be tested separately. So I think that these tests can be removed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40636> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com