summaryrefslogtreecommitdiff
path: root/testing/test_entry_points.py
diff options
context:
space:
mode:
authorMiro Hrončok <miro@hroncok.cz>2019-07-03 01:46:44 +0200
committerMiro Hrončok <miro@hroncok.cz>2019-07-04 15:00:10 +0200
commitc54cbd63c8bc5db6626d26c0f3339a552a6b1a90 (patch)
tree3ebc88c6e004d2b0c205bad457f1f575e4a55ebc /testing/test_entry_points.py
parent1db132290f25f53482f8d22db0afd00b8817a9d0 (diff)
downloadpytest-c54cbd63c8bc5db6626d26c0f3339a552a6b1a90.tar.gz
Replace importlib_metadata with importlib.metadata on Python 3.8+
Fixes https://github.com/pytest-dev/pytest/issues/5537
Diffstat (limited to 'testing/test_entry_points.py')
-rw-r--r--testing/test_entry_points.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_entry_points.py b/testing/test_entry_points.py
index 9812ce998..5d0031273 100644
--- a/testing/test_entry_points.py
+++ b/testing/test_entry_points.py
@@ -1,4 +1,4 @@
-import importlib_metadata
+from _pytest.compat import importlib_metadata
def test_pytest_entry_points_are_identical():