diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-07-12 12:13:34 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-07-12 12:13:34 +0200 |
commit | 2ea4de43fe2e0160e27b605f2c65f33c5a2083d7 (patch) | |
tree | ddd268394e9fa05011585fd326cb4f635f0510a1 /_test/test_tag.py | |
parent | ae5b5638efc9f20c027aac28f52dbfe0fc955998 (diff) | |
download | ruamel.yaml-2ea4de43fe2e0160e27b605f2c65f33c5a2083d7.tar.gz |
update to flake8==3.3.0 with --ignore F405
Diffstat (limited to '_test/test_tag.py')
-rw-r--r-- | _test/test_tag.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_test/test_tag.py b/_test/test_tag.py index 58249ae..f1a72c3 100644 --- a/_test/test_tag.py +++ b/_test/test_tag.py @@ -17,6 +17,7 @@ class XXX(yaml.comments.CommentedMap): yield data constructor.construct_mapping(node, data) + yaml.add_constructor(u'!xxx', XXX.yaml_load, constructor=yaml.RoundTripConstructor) yaml.add_representer(XXX, XXX.yaml_dump, representer=yaml.RoundTripRepresenter) |