Skip to content

Commit

Permalink
[cdd/tests/test_compound/test_doctrans.py] Conform to flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelMarks committed Sep 22, 2023
1 parent c7c6c9e commit 995aa60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cdd/tests/test_compound/test_doctrans.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from cdd.compound.doctrans import doctrans
from cdd.shared.ast_utils import annotate_ancestry
from cdd.shared.source_transformer import ast_parse, to_code
from cdd.shared.source_transformer import to_code
from cdd.tests.mocks.doctrans import function_type_annotated
from cdd.tests.mocks.methods import return_ast
from cdd.tests.utils_for_tests import unittest_main
Expand Down Expand Up @@ -54,9 +54,9 @@ def test_doctrans_replace(self) -> None:
type_annotations=False,
)
)
with open(filename, "rt") as f:
src = f.read()
new_node = ast_parse(src, skip_docstring_remit=True).body[0]
# with open(filename, "rt") as f:
# src = f.read()
# new_node = ast_parse(src, skip_docstring_remit=True).body[0]
# run_ast_test(
# self, new_node, gold=function_type_in_docstring, skip_black=True
# )
Expand Down

0 comments on commit 995aa60

Please sign in to comment.