Skip to content

Commit

Permalink
Remove skip as typing now has runtime_checkable unconditionally.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 21, 2023
1 parent 9a7fccf commit a95bafd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions importlib_resources/tests/test_files.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import typing
import textwrap
import unittest
import warnings
Expand Down Expand Up @@ -31,10 +30,6 @@ def test_read_text(self):
actual = files.joinpath('utf-8.file').read_text(encoding='utf-8')
assert actual == 'Hello, UTF-8 world!\n'

@unittest.skipUnless(
hasattr(typing, 'runtime_checkable'),
"Only suitable when typing supports runtime_checkable",
)
def test_traversable(self):
assert isinstance(resources.files(self.data), Traversable)

Expand Down

0 comments on commit a95bafd

Please sign in to comment.