Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: flake8-eyeo/tests/A103.py

Issue 29565854: Noissue - Improved accuracy of evaluated expressions for A103 and A207 (Closed)
Patch Set: Changed behavior of A207 Created Oct. 11, 2017, 6:25 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: flake8-eyeo/tests/A103.py
===================================================================
--- a/flake8-eyeo/tests/A103.py
+++ b/flake8-eyeo/tests/A103.py
@@ -24,3 +24,7 @@
def compare_variables(a, b, c, d):
return (a, b) == (c, d) or a == b
+
+
+def compare_builtin(x):
+ return dir == x

Powered by Google App Engine
This is Rietveld