New submission from Nikita Sobolev <m...@sobolevn.me>:
There are several problems with this test: https://github.com/python/cpython/blob/d02c5e9b55a8651b7d396ac3f2bdedf1fc1780b5/Lib/test/test_typing.py#L2130 1. It does not test all `pickle` protocols 2. It does not test newly added `ParamSpec` (probably others, I will double check) 3. It does not clean up `global TP, TPB, TPV` I will send a PR for this :) ---------- components: Tests messages: 410636 nosy: sobolevn priority: normal severity: normal status: open title: Improve `test_typing::test_immutability_by_copy_and_pickle` type: behavior versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46386> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com