diff options
Diffstat (limited to '_test/test_cyaml.py')
-rw-r--r-- | _test/test_cyaml.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/_test/test_cyaml.py b/_test/test_cyaml.py index f6b54d5..5ac6f31 100644 --- a/_test/test_cyaml.py +++ b/_test/test_cyaml.py @@ -29,7 +29,7 @@ def test_dump_cyaml(): ) assert res == 'a: 1\nb: 2\n' -@pytest.mark.xfail(strict=True) + def test_load_cyaml_1_2(): # issue 155 import ruamel.yaml @@ -43,18 +43,13 @@ def test_load_cyaml_1_2(): yaml = ruamel.yaml.YAML(typ='safe') yaml.load(inp) -@pytest.mark.xfail(strict=True) + def test_dump_cyaml_1_2(): # issue 155 import ruamel.yaml from ruamel.yaml.compat import StringIO assert ruamel.yaml.__with_libyaml__ - inp = dedent("""\ - %YAML 1.2 - --- - num_epochs: 70000 - """) yaml = ruamel.yaml.YAML(typ='safe') yaml.version = (1, 2) yaml.default_flow_style = False |