Skip to content

Commit 5324d52

Browse files
author
Jason
committed
Fix structure test
1 parent 1845d1e commit 5324d52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_mprester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_get_structure_by_material_id(self, mpr):
4646
assert s1.formula == "Ca12 Ti8 O28"
4747

4848
s1 = mpr.get_structure_by_material_id("mp-149", final=False)
49-
assert [s.formula for s in s1] == ["Si2"]
49+
assert {s.formula for s in s1} == {"Si2"}
5050

5151
# # requesting via task-id instead of mp-id
5252
with pytest.warns(UserWarning):

0 commit comments

Comments
 (0)