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

Side by Side Diff: flake8-eyeo/tests/A205.py

Issue 29602805: Noissue - Remove bare exceptions from test cases (Closed) Base URL: https://hg.adblockplus.org/codingtools/
Patch Set: Removed .orig files Created Nov. 10, 2017, 12:07 a.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-eyeo/tests/A204.py ('k') | flake8-eyeo/tests/A206.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 if True: 1 if True:
2 pass 2 pass
3 else: 3 else:
4 # A205 4 # A205
5 pass 5 pass
6 6
7 if True: 7 if True:
8 # A205 8 # A205
9 pass 9 pass
10 10
11 for i in range(10): 11 for i in range(10):
12 pass 12 pass
13 else: 13 else:
14 # A205 14 # A205
15 pass 15 pass
16 16
17 while True: 17 while True:
18 pass 18 pass
19 else: 19 else:
20 # A205 20 # A205
21 pass 21 pass
22 22
23 try: 23 try:
24 # A205 24 # A205
25 pass 25 pass
26 except: 26 except Exception:
27 pass 27 pass
28 finally: 28 finally:
29 # A205 29 # A205
30 pass 30 pass
OLDNEW
« no previous file with comments | « flake8-eyeo/tests/A204.py ('k') | flake8-eyeo/tests/A206.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld