Eliminate old-style-class suppression

pull/15113/head
Mehrdad Afshari 7 years ago committed by Mehrdad Afshari
parent fc3bb7c1f9
commit 4cc8ea9be1
  1. 1
      .pylintrc-tests
  2. 4
      src/python/grpcio_tests/tests/_result.py

@ -39,7 +39,6 @@ disable=
too-many-public-methods, too-many-public-methods,
too-many-locals, too-many-locals,
redefined-variable-type, redefined-variable-type,
old-style-class,
redefined-outer-name, redefined-outer-name,
bare-except, bare-except,
broad-except, broad-except,

@ -46,7 +46,7 @@ class CaseResult(
None. None.
""" """
class Kind: class Kind(object):
UNTESTED = 'untested' UNTESTED = 'untested'
RUNNING = 'running' RUNNING = 'running'
ERROR = 'error' ERROR = 'error'
@ -257,7 +257,7 @@ class CoverageResult(AugmentedResult):
#coverage.Coverage().combine() #coverage.Coverage().combine()
class _Colors: class _Colors(object):
"""Namespaced constants for terminal color magic numbers.""" """Namespaced constants for terminal color magic numbers."""
HEADER = '\033[95m' HEADER = '\033[95m'
INFO = '\033[94m' INFO = '\033[94m'

Loading…
Cancel
Save