Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 6, 2024
1 parent 24591f1 commit 62de2e9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/format/test_info_array_calc.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import pytest
import znh5md
import numpy as np
from ase.build import molecule
import numpy.testing as npt
import pytest
from ase.build import molecule
from ase.calculators.singlepoint import SinglePointCalculator

import znh5md


# Define assertion functions for different data types
def assert_equal(actual, expected):
Expand Down Expand Up @@ -72,8 +73,6 @@ def test_info(io_fixture, water_molecule, key, value, assert_fn):
assert io_fixture[0].calc is None




@pytest.mark.parametrize(
"key,value,assert_fn",
[
Expand Down Expand Up @@ -107,7 +106,6 @@ def test_calc(io_fixture, water_molecule, key, value, assert_fn):
assert_fn(io_fixture[0].calc.results[key], value)
assert key not in io_fixture[0].arrays
assert io_fixture[0].info == {}



@pytest.mark.parametrize(
Expand Down

0 comments on commit 62de2e9

Please sign in to comment.