Fill in literal cases in Python unmarshaller (untested)

This commit is contained in:
John J. Camilleri
2021-09-03 15:26:10 +02:00
parent 3ecb937753
commit d53b7587f5
3 changed files with 15 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ def test_readPGF_GF():
with pytest.raises(pgf.PGFError):
pgf.readPGF("../haskell/tests/basic.gf")
@pytest.mark.skip(reason="Bug in runtime")
@pytest.mark.skip(reason="Unhandled case in runtime")
def test_readPGF_NGF(NGF):
with pytest.raises(pgf.PGFError):
pgf.readPGF("./basic.ngf")
@@ -34,7 +34,7 @@ def test_bootNGF_GF():
with pytest.raises(pgf.PGFError):
pgf.bootNGF("../haskell/tests/basic.gf", "./abc.ngf")
@pytest.mark.skip(reason="Bug in runtime")
@pytest.mark.skip(reason="Unhandled case in runtime")
def test_bootNGF_NGF(NGF):
with pytest.raises(pgf.PGFError):
pgf.bootNGF("./basic.ngf", "./abc.ngf")
@@ -45,17 +45,17 @@ def test_bootNGF_existing(NGF):
# readNGF
@pytest.mark.skip(reason="Bug in runtime")
@pytest.mark.skip(reason="Unhandled case in runtime")
def test_readNGF_non_existant():
with pytest.raises(FileNotFoundError):
pgf.readNGF("./abc.ngf")
@pytest.mark.skip(reason="Bug in runtime")
@pytest.mark.skip(reason="Unhandled case in runtime")
def test_readNGF_GF():
with pytest.raises(pgf.PGFError):
pgf.readNGF("../haskell/tests/basic.gf")
@pytest.mark.skip(reason="Bug in runtime")
@pytest.mark.skip(reason="Unhandled case in runtime")
def test_readNGF_PGF():
with pytest.raises(pgf.PGFError):
pgf.readNGF("../haskell/tests/basic.pgf")