aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2018-04-18 18:13:59 -0700
committerGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2018-04-19 10:39:38 -0700
commit327b3fb6f851478db98895a454b9fa852e9e38fc (patch)
treefdcd5aa948f8e70d814f884d3b1db862ebb8a947
parentce8e2fcd16fbfa35365bb69b03118d8ed98a8372 (diff)
Eliminate raising-bad-type suppression
-rw-r--r--.pylintrc-tests1
-rw-r--r--src/python/grpcio_tests/tests/unit/_cython/test_utilities.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/.pylintrc-tests b/.pylintrc-tests
index a4bcb9a69b..045431ab46 100644
--- a/.pylintrc-tests
+++ b/.pylintrc-tests
@@ -58,7 +58,6 @@ disable=
wrong-import-order,
non-iterator-returned,
undefined-loop-variable,
- raising-bad-type,
# -- END OF TEST-SPECIFIC SUPPRESSIONS --
diff --git a/src/python/grpcio_tests/tests/unit/_cython/test_utilities.py b/src/python/grpcio_tests/tests/unit/_cython/test_utilities.py
index 4a00b9ef2f..ee5c7795a9 100644
--- a/src/python/grpcio_tests/tests/unit/_cython/test_utilities.py
+++ b/src/python/grpcio_tests/tests/unit/_cython/test_utilities.py
@@ -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