mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -06:00
Fixing assertion in py-binds test.
This commit is contained in:
@@ -18,7 +18,7 @@ samples = [
|
||||
|
||||
def lang2iso(l):
|
||||
s = rmprefix(l)
|
||||
assert(s[:5],"Query")
|
||||
assert s[:5]=="Query"
|
||||
return s[5:].lower()
|
||||
|
||||
def exp2str(e):
|
||||
@@ -89,7 +89,6 @@ class TestParsing(unittest.TestCase):
|
||||
self.pgf = "Query.pgf"
|
||||
|
||||
def test_parse(self):
|
||||
s = self.lexed[0]
|
||||
pgf = gf.read_pgf(self.pgf)
|
||||
l = gf.read_language(self.lang)
|
||||
for abs,cnc in self.lexed:
|
||||
|
||||
Reference in New Issue
Block a user