Parcourir la source

fix flake8 code formatting

Kimaru thagana il y a 4 ans
Parent
commit
c082b39929
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      test_howdoi.py

+ 2 - 1
test_howdoi.py

@@ -15,8 +15,9 @@ from howdoi import howdoi
 
 # pylint: disable=protected-access
 class HowdoiTestCase(unittest.TestCase):  # pylint: disable=too-many-public-methods
-    def _get_result_mock(self, url):  # pylint: disable=no-member
+    def _get_result_mock(self, url):
         file_name = howdoi._format_url_to_filename(url, 'html.gz')
+        # pylint: disable=no-member
         file_path = Path.joinpath(Path(howdoi.HTML_CACHE_PATH), Path(file_name)).resolve()
         try:
             with gzip.open(file_path, 'rb') as f: