Skip to content

Commit

Permalink
chor: Use importlib.resources from the standard library
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 11, 2024
1 parent 5b3387b commit cbdbaf0
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 cbdbaf0

Please sign in to comment.