We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424a193 commit 71b01aaCopy full SHA for 71b01aa
tests/test_cli.py
@@ -1,6 +1,6 @@
1
"""System tests for the command line interface."""
2
import subprocess
3
-import pkg_resources
+import importlib.metadata
4
import pytest
5
from . import utils
6
from .utils import TESTDATA_DIR
@@ -15,7 +15,7 @@ def test_version():
15
)
16
output = result.stdout.decode("utf-8")
17
assert "Madoop" in output
18
- assert pkg_resources.get_distribution("madoop").version in output
+ assert importlib.metadata.version("madoop") in output
19
20
21
def test_help():
0 commit comments