Skip to content

Commit

Permalink
don't allow subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Dec 24, 2024
1 parent 7f69553 commit 3474e79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/analysis/test_pourbaix_diagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,5 +353,4 @@ def test_solid(self):
assert ion_or_solid_comp_object("Fe(s)") == Composition("Fe1")

# Test end without "(s)"
# TODO: Na2O should be Composition instead of Ion?
assert ion_or_solid_comp_object("Na2O") == Ion.from_formula("Na2O")
assert type(ion_or_solid_comp_object("Na2O")) is Composition

0 comments on commit 3474e79

Please sign in to comment.