Skip to content

Commit

Permalink
chore: Use importlib.resources from the standard library (#2752)
Browse files Browse the repository at this point in the history
chor: Use `importlib.resources` from the standard library
  • Loading branch information
edgarrmondragon authored Nov 11, 2024
1 parent 5b3387b commit ae7516b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions singer_sdk/testing/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from __future__ import annotations

import contextlib
import importlib.resources
import typing as t
import warnings

from singer_sdk.helpers._compat import importlib_resources
from singer_sdk.testing import target_test_streams

if t.TYPE_CHECKING:
Expand Down Expand Up @@ -337,4 +337,4 @@ def singer_filepath(self) -> Traversable:
Returns:
The expected Path to this tests singer file.
"""
return importlib_resources.files(target_test_streams) / f"{self.name}.singer"
return importlib.resources.files(target_test_streams) / f"{self.name}.singer"

0 comments on commit ae7516b

Please sign in to comment.