]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668)
authorNice Zombies <nineteendo19d0@gmail.com>
Sat, 11 May 2024 21:46:07 +0000 (23:46 +0200)
committerGitHub <noreply@github.com>
Sat, 11 May 2024 21:46:07 +0000 (14:46 -0700)
commitabead548af0172dabba13da8bacf2da3c02d4927
treec5fca6963044965ec7ab58dc9ede44bd4c83a7ab
parentcd4cfa6ed2fd5f866c7be339f1d3cf56aa4d2bad
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.
Lib/test/datetimetester.py
Lib/test/test_strptime.py