fixed PY-9715 Inconsistent "Too broad exception clauses" inspection

This commit is contained in:
Ekaterina Tuzova
2013-05-09 20:52:57 +04:00
parent d15456935e
commit 3c6fdca807
@@ -6,6 +6,11 @@ try:
except <weak_warning descr="Too broad exception clause">Exception</weak_warning>:
pass
try:
function_throws_exception()
except <weak_warning descr="Too broad exception clause">BaseException</weak_warning>:
pass
try:
function_throws_exception()
except ExceptionKlass: