Connect string literals
This commit is contained in:
parent
016f8f1536
commit
615c671434
|
@ -755,7 +755,7 @@ class AssertionRewriter(ast.NodeVisitor):
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
warnings.warn_explicit(
|
warnings.warn_explicit(
|
||||||
"assertion is always true, perhaps " "remove parentheses?",
|
"assertion is always true, perhaps remove parentheses?",
|
||||||
PytestWarning,
|
PytestWarning,
|
||||||
filename=str(self.module_path),
|
filename=str(self.module_path),
|
||||||
lineno=assert_.lineno,
|
lineno=assert_.lineno,
|
||||||
|
|
Loading…
Reference in New Issue