16.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 72bec2ac authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

- bug fix: test_transform.py: remove_tokens

parent e48bd3c2
...@@ -83,7 +83,7 @@ class TestRemoval: ...@@ -83,7 +83,7 @@ class TestRemoval:
assert cst.content == "facitergula" assert cst.content == "facitergula"
def test_remove_tokens(self): def test_remove_tokens(self):
cst = parse_sxpr('(wortarten (:_Token "ajektiv") (:_Token "et") (:_Token "praeposition"))') cst = parse_sxpr('(wortarten (:Token "ajektiv") (:Token "et") (:Token "praeposition"))')
ast_table = { ast_table = {
"wortarten": [remove_tokens({"et"})], "wortarten": [remove_tokens({"et"})],
"*": [] "*": []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment