This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Warnings in tests
Type: Stage: resolved
Components: Tests Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: 19760 Superseder:
Assigned To: Nosy List: brett.cannon, christian.heimes, eric.snow, martin.panter, ncoghlan, python-dev, serhiy.storchaka
Priority: normal Keywords:

Created on 2013-11-24 21:14 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (6)
msg204270 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-24 21:14
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)
msg204274 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-24 22:14
New changeset 53ba43ed7f27 by Christian Heimes in branch 'default':
Issue #19758: silence PendingDeprecationWarnings in test_hmac
http://hg.python.org/cpython/rev/53ba43ed7f27
msg204276 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-24 22:21
Fix for test_sysconfig and test_distutils are proposed in issue19760. I have no yet fixes for test_importlib and test_poplib.
msg204731 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-29 15:34
For test_poplib issue19830 was opened.
msg205507 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-12-08 02:37
New changeset 94593dcb195a by Eric Snow in branch 'default':
Issue #19758: silence PendingDeprecationWarnings in test_importlib.
http://hg.python.org/cpython/rev/94593dcb195a
msg205580 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-12-08 16:26
Thank you Christian and Eric.
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 63957
2013-12-08 16:26:36serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg205580

stage: resolved
2013-12-08 02:37:56python-devsetmessages: + msg205507
2013-11-29 15:34:58serhiy.storchakasetmessages: + msg204731
2013-11-26 06:48:05martin.pantersetnosy: + martin.panter
2013-11-24 22:21:39serhiy.storchakasetmessages: + msg204276
2013-11-24 22:19:51serhiy.storchakasetdependencies: + Deprecation warnings in ttest_sysconfig and test_distutils
2013-11-24 22:14:25python-devsetnosy: + python-dev
messages: + msg204274
2013-11-24 21:33:34pitrousetnosy: + brett.cannon, ncoghlan, christian.heimes, eric.snow
2013-11-24 21:14:17serhiy.storchakacreate