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

Unified Diff: patchconv/tests/test_rietveld_to_git.py

Issue 29670655: Noissue - Remove bare exception from test case (Closed) Base URL: https://hg.adblockplus.org/codingtools/
Patch Set: Changed Exception to ImportError Created Jan. 25, 2018, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patchconv/tests/test_rietveld_to_git.py
===================================================================
--- a/patchconv/tests/test_rietveld_to_git.py
+++ b/patchconv/tests/test_rietveld_to_git.py
@@ -19,7 +19,7 @@
import subprocess
try:
from StringIO import StringIO
-except:
+except ImportError:
from io import StringIO
import mock
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld