Remove trailing whitespace
This commit is contained in:
parent
c3ba9225ef
commit
27cea340f3
|
@ -66,7 +66,7 @@ class TestAssertionRewrite(object):
|
||||||
s = """'Doc string'\nother = stuff"""
|
s = """'Doc string'\nother = stuff"""
|
||||||
m = rewrite(s)
|
m = rewrite(s)
|
||||||
# Module docstrings in 3.7 are part of Module node, it's not in the body
|
# Module docstrings in 3.7 are part of Module node, it's not in the body
|
||||||
# so we remove it so the following body items have the same indexes on
|
# so we remove it so the following body items have the same indexes on
|
||||||
# all Python versions
|
# all Python versions
|
||||||
if sys.version_info < (3, 7):
|
if sys.version_info < (3, 7):
|
||||||
assert isinstance(m.body[0], ast.Expr)
|
assert isinstance(m.body[0], ast.Expr)
|
||||||
|
|
Loading…
Reference in New Issue