commit | f5770f354cb982303237d581ad2b296486475965 | [log] [tgz] |
---|---|---|
author | Xtreak <tirkarthi@users.noreply.github.com> | Thu Jul 05 22:29:46 2018 +0530 |
committer | Victor Stinner <vstinner@redhat.com> | Thu Jul 05 18:59:46 2018 +0200 |
tree | e4e3e31c8c58737b75e4848aa1e6ced3fc6a63a2 | |
parent | 51a346d0753c52cc1ab3fef9b35c9ded3fddb325 [diff] [blame] |
bpo-33988: Fix test_warnings using -W error (GH-7985) Use DeprecationWarning instead of PendingDeprecationWarning.
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 7bbaa9f..d80e8d3 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py
@@ -4145,7 +4145,7 @@ 'ignore', r'dist\(\) and linux_distribution\(\) ' 'functions are deprecated .*', - PendingDeprecationWarning, + DeprecationWarning, ) for name, func in plats.items(): plat = func()