Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
09536bdb
Commit
09536bdb
authored
May 15, 2017
by
Eckhart Arnold
Browse files
- added toml to the list of desirable config file options
parent
2e058188
Changes
1
Hide whitespace changes
Inline
Side-by-side
DHParser/testing.py
View file @
09536bdb
...
...
@@ -102,7 +102,7 @@ def suite_from_configfile(config_filename):
for
testkey
,
testcode
in
cfg
[
section
].
items
():
suite
.
setdefault
(
symbol
,
{}).
setdefault
(
stage
,
{})[
testkey
]
=
testcode
return
suite
# TODO: support for json, yaml, cson, toml
def
unit_grammar
(
test_suite
,
parser_factory
,
transformer_factory
):
"""Unit tests for a grammar-parser and ast transformations.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment