[New-bugs-announce] [issue46359] Continue to modernize `test_typing.py`

Nikita Sobolev report at bugs.python.org
Wed Jan 12 16:11:00 EST 2022

New submission from Nikita Sobolev <mail at sobolevn.me>:

This is a follow up to:
- https://bugs.python.org/issue46348
- https://github.com/python/cpython/pull/30547

There are several other cases I've missed:
1. There's a test that is only executed under `<3.6`. I think that it should be removed: https://github.com/python/cpython/blob/0bbf30e2b910bc9c5899134ae9d73a8df968da35/Lib/test/test_typing.py#L4093-L4099
2. Line `if sys.version_info[:2] > (3, 2):` https://github.com/python/cpython/blob/0bbf30e2b910bc9c5899134ae9d73a8df968da35/Lib/test/test_typing.py#L1943
3. Line `if sys.version_info >= (3, 3):` https://github.com/python/cpython/blob/0bbf30e2b910bc9c5899134ae9d73a8df968da35/Lib/test/test_typing.py#L2069

I hope that this is it! 

PR is on it way :)

messages: 410431
nosy: sobolevn
priority: normal
severity: normal
status: open
title: Continue to modernize `test_typing.py`

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list