From c50fc348869402519c23233662f53b51a4bb745a Mon Sep 17 00:00:00 2001 From: Ansgar Wehrhahn <31626864+AWehrhahn@users.noreply.github.com> Date: Thu, 2 Jun 2022 10:09:51 +0200 Subject: [PATCH] fix test --- test/test_sme_structure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_sme_structure.py b/test/test_sme_structure.py index ac2e9e56..5b896c7f 100644 --- a/test/test_sme_structure.py +++ b/test/test_sme_structure.py @@ -63,9 +63,9 @@ def test_empty_structure(): assert empty.atomic is not None assert empty.monh == 0 - assert np.isnan(empty["abund Fe"]) - assert empty.abund["H"] == 0 - assert np.isnan(empty.abund()["Mg"]) + assert not np.isnan(empty["abund Fe"]) + assert empty.abund["H"] == 12 + assert not np.isnan(empty.abund()["Mg"]) assert empty.system_info is not None assert empty.system_info.arch == ""