[New-bugs-announce] [issue46386] Improve `test_typing::test_immutability_by_copy_and_pickle`
Nikita Sobolev
report at bugs.python.org
Sat Jan 15 05:08:28 EST 2022
New submission from Nikita Sobolev <mail at 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 <report at bugs.python.org>
<https://bugs.python.org/issue46386>
_______________________________________
More information about the New-bugs-announce
mailing list