Issue 19758: Warnings in tests (original) (raw)

Following warnings emitted by test suite when run it with -Wall.

[101/387] test_distutils /home/serhiy/py/cpython/Lib/distutils/sysconfig.py:578: DeprecationWarning: SO is deprecated, use EXT_SUFFIX warnings.warn('SO is deprecated, use EXT_SUFFIX', DeprecationWarning) unknown, 0: Warning: using regular magic file /etc/magic' unknown, 0: Warning: using regular magic file /etc/magic'

[154/387] test_hmac /home/serhiy/py/cpython/Lib/test/test_hmac.py:271: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h = hmac.HMAC(b"key") /home/serhiy/py/cpython/Lib/test/test_hmac.py:296: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h = hmac.HMAC(bytearray(b"key"), bytearray(b"hash this!")) /home/serhiy/py/cpython/Lib/test/test_hmac.py:303: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h = hmac.HMAC(b"key", memoryview(b"hash this!")) /home/serhiy/py/cpython/Lib/test/test_hmac.py:290: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h = hmac.HMAC(b"key", b"hash this!") /home/serhiy/py/cpython/Lib/test/test_hmac.py:320: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h = hmac.HMAC(b"key") /home/serhiy/py/cpython/Lib/test/test_hmac.py:327: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h = hmac.HMAC(b"my secret key") /home/serhiy/py/cpython/Lib/test/test_hmac.py:339: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h1 = hmac.HMAC(b"key") /home/serhiy/py/cpython/Lib/test/test_hmac.py:361: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h1 = hmac.HMAC(b"key") /home/serhiy/py/cpython/Lib/test/test_hmac.py:350: PendingDeprecationWarning: HMAC() without an explicit digestmod argument is deprecated. h1 = hmac.HMAC(b"key")

[165/387] test_importlib /home/serhiy/py/cpython/Lib/test/test_importlib/test_spec.py:58: PendingDeprecationWarning: The import system now takes care of this automatically. @frozen_util.module_for_loader

[245/387] test_poplib /home/serhiy/py/cpython/Lib/test/support/init.py:1331: ResourceWarning: unclosed <ssl.SSLSocket fd=24, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('127.0.0.1', 36469), raddr=('127.0.0.1', 50929)> gc.collect()

[319/387] test_sysconfig /home/serhiy/py/cpython/Lib/sysconfig.py:588: DeprecationWarning: SO is deprecated, use EXT_SUFFIX warnings.warn('SO is deprecated, use EXT_SUFFIX', DeprecationWarning)