فهرست منبع

Auto merge of #2813 - micbou:fix-bare-except-statements, r=puremourning

[READY] Fix bare except statement

See PR https://github.com/Valloric/ycmd/pull/863.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2813)
<!-- Reviewable:end -->
zzbot 7 سال پیش
والد
کامیت
b4ab6da86d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      python/ycm/tests/client/completion_request_test.py

+ 1 - 1
python/ycm/tests/client/completion_request_test.py

@@ -39,7 +39,7 @@ class ConvertCompletionResponseToVimDatas_test( object ):
 
     try:
       eq_( expected_vim_data, vim_data )
-    except:
+    except Exception:
       print( "Expected:\n'{0}'\nwhen parsing:\n'{1}'\nBut found:\n'{2}'".format(
           expected_vim_data,
           completion_data,