Skip to content

Commit

Permalink
remove references to pkg_resources
Browse files Browse the repository at this point in the history
carl-adams-planet committed Jan 18, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 577dc78 commit 428d9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_planet_auth/unit/auth/test_resources.py
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
# limitations under the License.

import unittest
import importlib.resources as pkg_resources
import importlib.resources

from planet_auth.oidc import resources as planet_auth_oidc_resources

@@ -25,7 +25,7 @@ def test_can_read_oidc_resources(self):
# Running against the local dev tree doesn't catch
# all problems (like a missed MANIFEST.in file)
under_test = (
pkg_resources.files(planet_auth_oidc_resources)
importlib.resources.files(planet_auth_oidc_resources)
.joinpath("callback_acknowledgement.html")
.read_text("utf-8")
)

0 comments on commit 428d9d0

Please sign in to comment.