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-locals,
redefined-variable-type,
old-style-class,
redefined-outer-name,
bare-except,
broad-except,

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

Loading…
Cancel
Save