Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,11 @@ def test_ncbi_prune(ncbi_tax: Taxonomy):
assert new_tax.node("561") is not None


def test_taxonomy_is_iterable(ncbi_tax: Taxonomy):
for _ in ncbi_tax:
break


@pytest.mark.skip(reason="tax.remove doesn't work on truncated taxonomies?")
def test_ncbi_remove():
tax = Taxonomy.from_ncbi("tests/data/")
Expand Down
Loading