Eliminate raising-bad-type suppression

pull/15113/head
Mehrdad Afshari 7 years ago
parent ce8e2fcd16
commit 327b3fb6f8
  1. 1
      .pylintrc-tests
  2. 2
      src/python/grpcio_tests/tests/unit/_cython/test_utilities.py

@ -58,7 +58,6 @@ disable=
wrong-import-order,
non-iterator-returned,
undefined-loop-variable,
raising-bad-type,
# -- END OF TEST-SPECIFIC SUPPRESSIONS --

@ -41,7 +41,7 @@ class SimpleFuture(object):
self._thread.join()
if self._error:
# TODO(atash): re-raise exceptions in a way that preserves tracebacks
raise self._error
raise self._error # pylint: disable=raising-bad-type
return self._result

Loading…
Cancel
Save