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

Unified Diff: flake8-abp/tests/A112.py

Issue 29342824: Issue 4044 - Added handling for __future__ unicode_literals import to check_quotes() (Closed)
Patch Set: merged edge case fix Created May 31, 2016, 9:56 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
« flake8-abp/flake8_abp.py ('K') | « flake8-abp/tests/A110_unicode_literals.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flake8-abp/tests/A112.py
===================================================================
new file mode 100644
--- /dev/null
+++ b/flake8-abp/tests/A112.py
@@ -0,0 +1,11 @@
+class Foo:
+ def unicode(self):
+ # A112
+ u"""This should not be a unicode docstring"""
+
+
+def foo():
Sebastian Noack 2016/06/01 09:37:52 The function and list seems redundant. How about t
+ return [
+ # A112
+ u'yeahyeah'
+ ]
« flake8-abp/flake8_abp.py ('K') | « flake8-abp/tests/A110_unicode_literals.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld