]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 9 Jul 2018 17:00:53 +0000 (20:00 +0300)
committerGitHub <noreply@github.com>
Mon, 9 Jul 2018 17:00:53 +0000 (20:00 +0300)
commit789f95ac9784036741fb04257bdc52e96e80685a
tree3d6d4bdca5ce9225a7971a6dfbdf38b53b395727
parentb1e6e5615a8e82fcf569368fac5c5b0385929855
[2.7] Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191) (GH-8202)

Fixed also testing the "always" warning filter.
(cherry picked from commit b796e7dcdc24ff7ec53044af041254c83a8ace21)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Lib/ctypes/test/test_as_parameter.py
Lib/test/test_pkg.py
Lib/test/test_test_support.py
Lib/test/test_warnings.py