Replace importlib_metadata with importlib.metadata on Python 3.8+ (#5539)
This commit is contained in:
committed by
Ondřej Súkup
parent
1cc974c95d
commit
b9a8465ce4
@@ -180,7 +180,8 @@ class TestImportHookInstallation(object):
|
||||
return check
|
||||
""",
|
||||
"mainwrapper.py": """\
|
||||
import pytest, importlib_metadata
|
||||
import pytest
|
||||
from _pytest.compat import importlib_metadata
|
||||
|
||||
class DummyEntryPoint(object):
|
||||
name = 'spam'
|
||||
|
||||
Reference in New Issue
Block a user