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

Unified Diff: flake8-eyeo/tests/A206.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.
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
« no previous file with comments | « flake8-eyeo/tests/A205.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flake8-eyeo/tests/A206.py
===================================================================
--- a/flake8-eyeo/tests/A206.py
+++ b/flake8-eyeo/tests/A206.py
@@ -21,7 +21,7 @@
def else_after_return_in_except():
try:
noop()
- except:
+ except Exception:
return
else:
# A206
« no previous file with comments | « flake8-eyeo/tests/A205.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld