summaryrefslogtreecommitdiffstats
path: root/tests/test_declarative_parser.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:16:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:16:53 +0000
commit7f62bd7daeb1c8e6d879b9e607474b457ea71aca (patch)
tree40de464ce4041327045d31b7c54d3b069309107a /tests/test_declarative_parser.py
parentAdding debian version 0.1.24. (diff)
downloaddebputy-7f62bd7daeb1c8e6d879b9e607474b457ea71aca.tar.xz
debputy-7f62bd7daeb1c8e6d879b9e607474b457ea71aca.zip
Merging upstream version 0.1.25.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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,
)