Skip to content

Commit

Permalink
Completely remove assert statement
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed Jan 15, 2022
1 parent 7cff2a4 commit 409d903
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ def test_iterate_entry_points():
ext_iter = extensions.iterate_entry_points()
assert hasattr(ext_iter, "__iter__")
ext_list = list(ext_iter)
# isinstance(...) doesn't work reliably as we don't know if setuptools using
# importlib.metadata or importlib_metadata for Python >= 3.8
assert all([e.__class__.__name__ == "EntryPoint" for e in ext_list])
name_list = [e.name for e in ext_list]
for ext in ("cirrus", "pre_commit", "no_skeleton", "namespace", "venv"):
assert ext in name_list
Expand Down

0 comments on commit 409d903

Please sign in to comment.