Closed serhiy-storchaka closed 10 years ago
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)
New changeset 53ba43ed7f27 by Christian Heimes in branch 'default': Issue bpo-19758: silence PendingDeprecationWarnings in test_hmac http://hg.python.org/cpython/rev/53ba43ed7f27
Fix for test_sysconfig and test_distutils are proposed in bpo-19760. I have no yet fixes for test_importlib and test_poplib.
For test_poplib bpo-19830 was opened.
New changeset 94593dcb195a by Eric Snow in branch 'default': Issue bpo-19758: silence PendingDeprecationWarnings in test_importlib. http://hg.python.org/cpython/rev/94593dcb195a
Thank you Christian and Eric.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = None closed_at =
created_at =
labels = ['tests']
title = 'Warnings in tests'
updated_at =
user = 'https://github.com/serhiy-storchaka'
```
bugs.python.org fields:
```python
activity =
actor = 'serhiy.storchaka'
assignee = 'none'
closed = True
closed_date =
closer = 'serhiy.storchaka'
components = ['Tests']
creation =
creator = 'serhiy.storchaka'
dependencies = ['19760']
files = []
hgrepos = []
issue_num = 19758
keywords = []
message_count = 6.0
messages = ['204270', '204274', '204276', '204731', '205507', '205580']
nosy_count = 7.0
nosy_names = ['brett.cannon', 'ncoghlan', 'christian.heimes', 'python-dev', 'eric.snow', 'martin.panter', 'serhiy.storchaka']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue19758'
versions = ['Python 3.4']
```