More pylint 2 fixes (#15565)

## Description:

More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).

## Checklist:
  - [ ] The code change is tested and works locally.
  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
This commit is contained in:
Ville Skyttä authored and Andrey committed 2018-07-20 11:45:20 +03:00
1 parent ea18e06b08
commit 2f7b79764a
242 files changed
+284 -284

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ from tests.common import (
from .test_init import mutagen_mock # noqa
class TestTTSGooglePlatform(object):
class TestTTSGooglePlatform:
"""Test the Google speech component."""
def setup_method(self):
+1 -1
View File
@@ -29,7 +29,7 @@ def mutagen_mock():
yield
class TestTTS(object):
class TestTTS:
"""Test the Google speech component."""
def setup_method(self):
+1 -1
View File
@@ -14,7 +14,7 @@ from tests.common import (
from .test_init import mutagen_mock # noqa
class TestTTSMaryTTSPlatform(object):
class TestTTSMaryTTSPlatform:
"""Test the speech component."""
def setup_method(self):
+1 -1
View File
@@ -14,7 +14,7 @@ from tests.common import (
from .test_init import mutagen_mock # noqa
class TestTTSVoiceRSSPlatform(object):
class TestTTSVoiceRSSPlatform:
"""Test the voicerss speech component."""
def setup_method(self):
+1 -1
View File
@@ -13,7 +13,7 @@ from tests.common import (
from .test_init import mutagen_mock # noqa
class TestTTSYandexPlatform(object):
class TestTTSYandexPlatform:
"""Test the speech component."""
def setup_method(self):