Skip to content

Commit

Permalink
remove workaround
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz committed Jun 14, 2024
1 parent 65c232c commit a41dcb6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ test = [
"pytest-sugar",
"pytest-split",
"dpgui",
"mendeleev",
]
docs = [
"sphinx>=3.1.1",
Expand Down
8 changes: 0 additions & 8 deletions source/tests/common/test_econf_embd.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
make_econf_embedding,
)

try:
import mendeleev # noqa: F401

has_mendeleev = True
except ImportError:
has_mendeleev = False


@unittest.skipIf(not has_mendeleev, "does not have mendeleev installed, skip the UTs.")
class TestEConfEmbd(unittest.TestCase):
def test_fe(self):
res = make_econf_embedding(["Fe"], flatten=False)["Fe"]
Expand Down

0 comments on commit a41dcb6

Please sign in to comment.