def test_isChiral(self): smi = CHIRAL_SMI sm = SmallMol(smi) ischiral, details = sm.isChiral(returnDetails=True) self.assertListEqual( details, CHIRAL_DETAILS, 'chiral atom does not match.' 'Expected: {}; Now: {}'.format(CHIRAL_DETAILS, details))
def test_isChiral(self): smi = CHIRAL_SMI sm = SmallMol(smi) ischiral, details = sm.isChiral(returnDetails=True) self.assertListEqual( details, CHIRAL_DETAILS, f"chiral atom does not match.Expected: {CHIRAL_DETAILS}; Now: {details}", )