]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-11766...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 May 2024 22:18:23 +0000 (00:18 +0200)
committerGitHub <noreply@github.com>
Sat, 11 May 2024 22:18:23 +0000 (22:18 +0000)
commitd3094744d40de2deefbda9b1996d5029c9ebf0b0
tree6e7a1898cfcf2b9a7a060207d2b5adf0c62bf220
parent93ef7aa03c64a97d8615ad3975083392ad07b379
[3.13] gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668) (GH-118956)

gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668)

* Fix `test_strptime` raises a DeprecationWarning
* Ignore deprecation warnings where appropriate.
* Update Lib/test/datetimetester.py

This is follow on work to silence unnecessary warnings from the test suite that changes for https://github.com/python/cpython/issues/70647 added.
(cherry picked from commit abead548af0172dabba13da8bacf2da3c02d4927)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Lib/test/datetimetester.py
Lib/test/test_strptime.py