summaryrefslogtreecommitdiffstats
path: root/tests/test_declarative_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_declarative_parser.py')
-rw-r--r--tests/test_declarative_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_declarative_parser.py b/tests/test_declarative_parser.py
index a5061cb..94341ea 100644
--- a/tests/test_declarative_parser.py
+++ b/tests/test_declarative_parser.py
@@ -198,7 +198,7 @@ def test_declarative_parser_ok(
):
pg = ParserGenerator()
pg.register_mapped_type(TypeMapping(BinaryPackage, str, type_mapper_str2package))
- parser = pg.parser_from_typed_dict(
+ parser = pg.generate_parser(
parse_content,
source_content=source_content,
)