[issue30158] Deprecation warnings emitted in test_importlib

2017-04-28 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30158] Deprecation warnings emitted in test_importlib

2017-04-28 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 3cc8259b71ef784a9f7593f04da96043afe2228a by Serhiy Storchaka in 
branch 'master':
bpo-30158: Fix deprecation warnings in test_importlib introduced by bpo-29576. 
(#1285)
https://github.com/python/cpython/commit/3cc8259b71ef784a9f7593f04da96043afe2228a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30158] Deprecation warnings emitted in test_importlib

2017-04-25 Thread STINNER Victor

STINNER Victor added the comment:

Deprecation introduced by issue #29576 according to the PR.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30158] Deprecation warnings emitted in test_importlib

2017-04-25 Thread STINNER Victor

STINNER Victor added the comment:

> DeprecationWarning: MetaPathFinder.find_module() is deprecated since Python 
> 3.4 in favor of MetaPathFinder.find_spec()(available since 3.4)

Is a space missing in the error message between "MetaPathFinder.find_spec()" 
and "(available since 3.4)"?

--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30158] Deprecation warnings emitted in test_importlib

2017-04-25 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
stage:  -> patch review
versions:  -Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30158] Deprecation warnings emitted in test_importlib

2017-04-25 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +1392

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30158] Deprecation warnings emitted in test_importlib

2017-04-25 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

$ ./python -We -m test.regrtest -v test_importlib
...
==
ERROR: test_find_module 
(test.test_importlib.test_abc.Frozen_MetaPathFinderDefaultsTests)
--
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_importlib/test_abc.py", line 160, 
in test_find_module
self.assertIsNone(self.ins.find_module('something', None))
  File "/home/serhiy/py/cpython/Lib/test/test_importlib/test_abc.py", line 151, 
in find_module
return super().find_module(fullname, path)
  File "/home/serhiy/py/cpython/Lib/importlib/abc.py", line 72, in find_module
stacklevel=2)
DeprecationWarning: MetaPathFinder.find_module() is deprecated since Python 3.4 
in favor of MetaPathFinder.find_spec()(available since 3.4)

...

--
components: Tests
messages: 292259
nosy: brett.cannon, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Deprecation warnings emitted in test_importlib
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com