1
0
forked from GitHub/gf-core

fix space leak in PySequence_AsHypos. PyList_FromHypos->PyTuple_FromHypos

This commit is contained in:
krangelov
2021-10-16 21:12:16 +02:00
parent 0eb6e9f724
commit 0e98c30973
5 changed files with 28 additions and 40 deletions

View File

@@ -104,10 +104,10 @@ def test_functionsByCat_non_existent(PGF):
assert PGF.functionsByCat("X") == []
def test_categoryContext_1(PGF):
assert PGF.categoryContext("N") == []
assert PGF.categoryContext("N") == ()
def test_categoryContext_2(PGF):
assert PGF.categoryContext("S") == []
assert PGF.categoryContext("S") == ()
def test_categoryContext_3(PGF):
cxt = PGF.categoryContext("P")