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 Oct 19, 2023
1 parent 510f27d commit 2ef402c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbuild/tests/test_compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ def test_bond_order(self, methane):
C2.add_bond([carbon, carbon_clone], bond_order="double")
bonds = [bond for bond in C2.bonds(return_bond_order=True)]

assert bonds[0][2]["bond_order"] == "double"
assert bonds[0][2]["bond_order"] == "double"

# ensure we propagate bond order information when we clone a compound
C2_clone = mb.clone(C2)
bonds = [bond for bond in C2_clone.bonds(return_bond_order=True)]

assert bonds[0][2]["bond_order"] == "double"
assert bonds[0][2]["bond_order"] == "double"

@pytest.mark.skipif(not has_rdkit, reason="RDKit is not installed")
def test_convert_to_rdkit(self, methane):
Expand Down

0 comments on commit 2ef402c

Please sign in to comment.