summaryrefslogtreecommitdiff
path: root/_test/test_comment_manipulation.py
diff options
context:
space:
mode:
Diffstat (limited to '_test/test_comment_manipulation.py')
-rw-r--r--_test/test_comment_manipulation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/test_comment_manipulation.py b/_test/test_comment_manipulation.py
index 979b386..9101853 100644
--- a/_test/test_comment_manipulation.py
+++ b/_test/test_comment_manipulation.py
@@ -2,7 +2,7 @@
import pytest # type: ignore # NOQA
-from roundtrip import round_trip, dedent, round_trip_load, round_trip_dump # NOQA
+from roundtrip import round_trip, dedent, round_trip_load, round_trip_dump # type: ignore # NOQA
from typing import Any
@@ -17,7 +17,7 @@ def compare(data: Any, s: str, **kw: Any) -> None:
def compare_eol(data: Any, s: str) -> None:
assert 'EOL' in s
ds = dedent(s).replace('EOL', '').replace('\n', '|\n')
- assert round_trip_dump(data).replace('\n', '|\n') == ds # type: ignore
+ assert round_trip_dump(data).replace('\n', '|\n') == ds
class TestCommentsManipulation: