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

Side by Side Diff: flake8-abp/tests/A109.py

Issue 29342824: Issue 4044 - Added handling for __future__ unicode_literals import to check_quotes() (Closed)
Patch Set: Changed tests for new A109 merge Created May 26, 2016, 4:08 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « flake8-abp/flake8_abp.py ('k') | flake8-abp/tests/A110.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # A109 1 # A109
2 'this doc string should use three double quotes' 2 'this doc string should use three double quotes'
3 3
4 4
5 class Foo: 5 class Foo:
6 # A109 6 # A109
7 "this doc string should use three quotes" 7 "this doc string should use three quotes"
8 8
9 def single(self): 9 def single(self):
10 # A109 10 # A109
11 '''this doc string should use double quotes''' 11 '''this doc string should use double quotes'''
12 12
13 def unicode(self):
14 # A109
15 u"""this doc string must not be marked as unicode string"""
16
17 def raw(self): 13 def raw(self):
18 # A109 14 # A109
19 r"""this doc string must not be marked as raw string""" 15 r"""this doc string must not be marked as raw string"""
20 16
21 def correct(self): 17 def correct(self):
22 """this doc string uses the right quotes""" 18 """this doc string uses the right quotes"""
OLDNEW
« no previous file with comments | « flake8-abp/flake8_abp.py ('k') | flake8-abp/tests/A110.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld