Skip to content

Commit

Permalink
kick tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wasade committed Nov 14, 2023
1 parent e7818c0 commit d9e7b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unifrac/tests/test_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ def test_has_samples_biom_v210(self):
with h5py.File(tmpfile, 'w') as fp:
empty.to_hdf5(fp, 'asd')
fp = self.get_data_path(tmpfile)
self.assertFalse(has_samples_biom_v210(fp))
self.assertFalse(has_samples_biom_v210(tmpfile))
finally:
os.unlink(tmpfile)

def test_call_ssu_empty_biom(self):
empty = biom.Table([], [], [])
tre = skbio.TreeNode()
with self.assertRaisesRegex(ValueError, "contain any samples"):
_validate(empty, tre)
_call_ssu(empty, tre)


if __name__ == "__main__":
Expand Down

0 comments on commit d9e7b34

Please sign in to comment.