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 <rep...@bugs.python.org>
<http://bugs.python.org/issue30158>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to