Skip to content

Commit 3b458ea

Browse files
eli-schwartzabichinger
authored andcommitted
test: remove test that doesn't seem to make a lot of sense
It claims to be testing that a `__repr__()` "works", but this doesn't make any sense as everything eventually gets one from `object()`. It also makes use of the deprecated pkg_resources interface, so simply ditch this code entirely.
1 parent a00e3e2 commit 3b458ea

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_opener.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,6 @@ def setUp(self):
215215
def tearDown(self):
216216
shutil.rmtree(self.tmpdir)
217217

218-
def test_repr(self):
219-
# Check __repr__ works
220-
for entry_point in pkg_resources.iter_entry_points("fs.opener"):
221-
_opener = entry_point.load()
222-
repr(_opener())
223-
224218
def test_open_osfs(self):
225219
fs = opener.open_fs("osfs://.")
226220
self.assertIsInstance(fs, OSFS)

0 commit comments

Comments
 (0)