]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix a deprecation warning in typing tests (#27312)
authorSebastian Rittau <srittau@rittau.biz>
Fri, 23 Jul 2021 18:53:29 +0000 (20:53 +0200)
committerGitHub <noreply@github.com>
Fri, 23 Jul 2021 18:53:29 +0000 (11:53 -0700)
commit4512848ab92c8ed6aafb54d6e1908b1074558c43
treef021399e02d82696f70a3d9db9b6d0167861a6e0
parent83d1430ee5b8008631e7f2a75447e740eed065c1
Fix a deprecation warning in typing tests (#27312)

The test was accessing typing.{io,re}.__all__, which triggered the
warning. This check isn't necessary anymore, since the objects from
typing.{io,re}.__all__ are in typing.__all__ as well, since Python 3.10.
Lib/test/test_typing.py