diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-09 05:53:15 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-09 22:32:00 +0530 |
commit | b5ae35ee6d3f913898770b8c74ee5f5e5cc33560 (patch) | |
tree | 522e8c204c63433978cf736c4638aee76a11a3e5 /test/helper.py | |
parent | 4e3b637d5be70b92ee511743405f3c907fed20f6 (diff) | |
download | hypervideo-pre-b5ae35ee6d3f913898770b8c74ee5f5e5cc33560.tar.lz hypervideo-pre-b5ae35ee6d3f913898770b8c74ee5f5e5cc33560.tar.xz hypervideo-pre-b5ae35ee6d3f913898770b8c74ee5f5e5cc33560.zip |
[cleanup] Misc cleanup
Diffstat (limited to 'test/helper.py')
-rw-r--r-- | test/helper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/helper.py b/test/helper.py index 9599eab8e..5c0e645f9 100644 --- a/test/helper.py +++ b/test/helper.py @@ -22,7 +22,7 @@ from yt_dlp.utils import ( ) -if "pytest" in sys.modules: +if 'pytest' in sys.modules: import pytest is_download_test = pytest.mark.download else: @@ -32,9 +32,9 @@ else: def get_params(override=None): PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), - "parameters.json") + 'parameters.json') LOCAL_PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), - "local_parameters.json") + 'local_parameters.json') with io.open(PARAMETERS_FILE, encoding='utf-8') as pf: parameters = json.load(pf) if os.path.exists(LOCAL_PARAMETERS_FILE): |