summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-08-15 21:45:20 +0200
committerAnthon van der Neut <anthon@mnt.org>2019-08-15 21:45:20 +0200
commit1c628953c71f2e2f0cd01d643ca239e23c2e15cc (patch)
tree5023362ff0ebc313833d5c84bc358eb6f6d58110 /_test
parent64185b909c7107f1bc11644aa60bd901f8ec1bdc (diff)
downloadruamel.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')
-rw-r--r--_test/test_issues.py1
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)