Explorar el Código

update code format

Kimaru thagana hace 4 años
padre
commit
57b7dffadf
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      test_howdoi.py

+ 1 - 2
test_howdoi.py

@@ -17,8 +17,7 @@ from howdoi import howdoi
 class HowdoiTestCase(unittest.TestCase):  # pylint: disable=too-many-public-methods
     def _get_result_mock(self, url):
         file_name = howdoi._format_url_to_filename(url, 'html.gz')
-        file_path = Path.joinpath(Path(howdoi.HTML_CACHE_PATH)
-                                  , Path(file_name)).resolve()
+        file_path = Path.joinpath(Path(howdoi.HTML_CACHE_PATH),Path(file_name)).resolve()
         try:
             with gzip.open(file_path, 'rb') as f:
                 cached_page_content = str(f.read(), encoding='utf-8')