entities similar to #3203 disabling W0702 (no exception's type specified) works in a strange way