diff options
Diffstat (limited to '_test/test_copy.py')
-rw-r--r-- | _test/test_copy.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/_test/test_copy.py b/_test/test_copy.py index 4931d2a..cf402a4 100644 --- a/_test/test_copy.py +++ b/_test/test_copy.py @@ -6,13 +6,13 @@ Testing copy and deepcopy, instigated by Issue 84 (Peter Amstutz) import copy -import pytest # NOQA +import pytest # type: ignore # NOQA from roundtrip import dedent, round_trip_load, round_trip_dump class TestDeepCopy: - def test_preserve_flow_style_simple(self): + def test_preserve_flow_style_simple(self) -> None: x = dedent("""\ {foo: bar, baz: quux} """) @@ -24,7 +24,7 @@ class TestDeepCopy: assert y == x assert data.fa.flow_style() == data_copy.fa.flow_style() - def test_deepcopy_flow_style_nested_dict(self): + def test_deepcopy_flow_style_nested_dict(self) -> None: x = dedent("""\ a: {foo: bar, baz: quux} """) @@ -46,7 +46,7 @@ class TestDeepCopy: baz: quux """) - def test_deepcopy_flow_style_nested_list(self): + def test_deepcopy_flow_style_nested_list(self) -> None: x = dedent("""\ a: [1, 2, 3] """) @@ -71,7 +71,7 @@ class TestDeepCopy: class TestCopy: - def test_copy_flow_style_nested_dict(self): + def test_copy_flow_style_nested_dict(self) -> None: x = dedent("""\ a: {foo: bar, baz: quux} """) @@ -93,7 +93,7 @@ class TestCopy: baz: quux """) - def test_copy_flow_style_nested_list(self): + def test_copy_flow_style_nested_list(self) -> None: x = dedent("""\ a: [1, 2, 3] """) |