mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-19 01:39:32 -06:00
Implement PGF_getStartCat in Python bindings
This commit is contained in:
@@ -120,5 +120,6 @@ def test_functionType_wrong(PGF):
|
||||
assert PGF.functionType("c") != pgf.readType("N -> S -> X")
|
||||
|
||||
def test_startCat(PGF):
|
||||
with pytest.raises(pgf.PGFError):
|
||||
PGF.startCat()
|
||||
# with pytest.raises(pgf.PGFError):
|
||||
# PGF.startCat
|
||||
assert PGF.startCat == pgf.readType("S")
|
||||
|
||||
Reference in New Issue
Block a user