Skip to content

Commit 7460173

Browse files
committed
Fix unit tests in Molecule.toAugmentedInChI() and .toAugmentedInChIKey()
We were passing self twice.
1 parent ca895da commit 7460173

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unittest/moleculeTest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ def testAugmentedInChI(self):
890890
2 C 1 {1,S}
891891
""")
892892

893-
self.assertEqual(mol.toAugmentedInChI(self), 'InChI=1S/C2H4/c1-2/h1-2H2/mult3')
893+
self.assertEqual(mol.toAugmentedInChI(), 'InChI=1S/C2H4/c1-2/h1-2H2/mult3')
894894

895895
def testAugmentedInChIKey(self):
896896
"""
@@ -901,7 +901,7 @@ def testAugmentedInChIKey(self):
901901
2 C 1 {1,S}
902902
""")
903903

904-
self.assertEqual(mol.toAugmentedInChIKey(self), 'VGGSQFUCUMXWEO-UHFFFAOYSA/mult3')
904+
self.assertEqual(mol.toAugmentedInChIKey(), 'VGGSQFUCUMXWEO-UHFFFAOYSA/mult3')
905905
################################################################################
906906

907907
class TestMoleculeSymmetry(unittest.TestCase):

0 commit comments

Comments
 (0)