Skip to content

Commit d30d8dc

Browse files
committed
Update test_ast.py
1 parent 213cca4 commit d30d8dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/plugins/conan/test_ast.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class MyFile(ConanFile):
3535
transformer = RequiresTransformer([dependency])
3636
modified = module.visit(transformer)
3737
assert 'requires = ["test/1.2.3"]' in modified.code
38-
# Verify the resulting code is valid Python syntax
3938

39+
# Verify the resulting code is valid Python syntax
4040
ast.parse(modified.code)
4141

4242
@staticmethod
@@ -56,8 +56,8 @@ class MyFile(ConanFile):
5656
modified = module.visit(transformer)
5757
assert 'requires = ["test/1.2.3"]' in modified.code
5858
assert 'old/0.1' not in modified.code
59-
# Verify the resulting code is valid Python syntax
6059

60+
# Verify the resulting code is valid Python syntax
6161
ast.parse(modified.code)
6262

6363
@staticmethod
@@ -75,6 +75,6 @@ class NotConan:
7575
modified = module.visit(transformer)
7676
# Should not add requires to non-ConanFile classes
7777
assert 'requires' not in modified.code
78-
# Verify the resulting code is valid Python syntax
7978

79+
# Verify the resulting code is valid Python syntax
8080
ast.parse(modified.code)

0 commit comments

Comments
 (0)