Skip to content

Commit 7cd7cfe

Browse files
committed
Remove xfail decorator from fixed tests
1 parent 038a4cb commit 7cd7cfe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import pytest
2-
3-
4-
@pytest.mark.xfail(strict=True, raises=AssertionError)
51
def test_inchi_to_struct(run_inchi_exe):
62
# https://pubchem.ncbi.nlm.nih.gov/compound/10785244
73
inchi = "InChI=1S/C18H16N4O3S/c1-12-2-8-15(9-3-12)26-11-17(24)21-13-4-6-14(7-5-13)22-18(25)16(23)10-20-19/h2-10,19,23H,11H2,1H3/p+1/b16-10+"
84
result = run_inchi_exe(inchi, "-InChI2Struct")
5+
96
assert "Add/Remove protons error; *Conversion failed*" not in result.stderr
7+
assert (
8+
"Problems/mismatches: Mobile-H( Stereobonds/cumulenes: Extra undefined)"
9+
in result.stderr
10+
)

INCHI-1-TEST/tests/test_executable/test_pubchem_107.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,6 @@ def test_CID_6419538(molfile_CID_6419538, run_inchi_exe):
581581
)
582582

583583

584-
@pytest.mark.xfail(strict=True, raises=AssertionError)
585584
def test_CID_53234134(molfile_CID_53234134, run_inchi_exe):
586585
result = run_inchi_exe(molfile_CID_53234134)
587586
inchi = parse_inchi_from_executable_output(result.output)

0 commit comments

Comments
 (0)