diff options
author | Anthon van der Neut <anthon@mnt.org> | 2019-08-15 21:45:20 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2019-08-15 21:45:20 +0200 |
commit | 1c628953c71f2e2f0cd01d643ca239e23c2e15cc (patch) | |
tree | 5023362ff0ebc313833d5c84bc358eb6f6d58110 /_test/test_issues.py | |
parent | 64185b909c7107f1bc11644aa60bd901f8ec1bdc (diff) | |
download | ruamel.yaml-1c628953c71f2e2f0cd01d643ca239e23c2e15cc.tar.gz |
move YAML directive info to scanner for TAG parsing of 1.2 URI
1.2 URI can contain the "#" character, but parsing for nodes didn't necessarily make the 1.2 version
available in time
fixes issue #301
*When this change indeed resolves your problem, please **Close** this issue*.
*(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to '_test/test_issues.py')
-rw-r--r-- | _test/test_issues.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py index 5606122..f2b5d74 100644 --- a/_test/test_issues.py +++ b/_test/test_issues.py @@ -846,7 +846,6 @@ class TestIssues: null """) yaml = YAML() - yaml.version = (1, 1) # This should not be necessary -> issue 301 with pytest.raises(ruamel.yaml.scanner.ScannerError, match='while scanning a directive'): yaml.load(inp) |