Skip to content

Commit

Permalink
Eliminate pkg_resources deprecration warning
Browse files Browse the repository at this point in the history
  • Loading branch information
noah-weingarden committed Nov 6, 2024
1 parent 424a193 commit 71b01aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""System tests for the command line interface."""
import subprocess
import pkg_resources
import importlib.metadata
import pytest
from . import utils
from .utils import TESTDATA_DIR
Expand All @@ -15,7 +15,7 @@ def test_version():
)
output = result.stdout.decode("utf-8")
assert "Madoop" in output
assert pkg_resources.get_distribution("madoop").version in output
assert importlib.metadata.version("madoop") in output


def test_help():
Expand Down

0 comments on commit 71b01aa

Please sign in to comment.