Skip to content

Commit

Permalink
remove pkg_resources use
Browse files Browse the repository at this point in the history
  • Loading branch information
phobson committed Dec 17, 2024
1 parent 8374c7f commit 7309347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudside/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from pkg_resources import resource_filename
from importlib import resources
from contextlib import contextmanager

import pytest


def get_test_file(filename):
return resource_filename("cloudside.tests.data", filename)
return resources.files("cloudside.tests.data").joinpath(filename)


def raises(error):
Expand Down

0 comments on commit 7309347

Please sign in to comment.