From 5cf2cc4d5e523e724179df5247bd01ba725b2525 Mon Sep 17 00:00:00 2001 From: Artem Veremey Date: Mon, 22 Mar 2021 23:38:51 -0700 Subject: [PATCH] Interesting suggestion by pyupgrade --- gamestonk_terminal/test_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamestonk_terminal/test_helper.py b/gamestonk_terminal/test_helper.py index 8956dc672d4..2800fd93e05 100644 --- a/gamestonk_terminal/test_helper.py +++ b/gamestonk_terminal/test_helper.py @@ -27,7 +27,7 @@ def parametrize_from_file(test_namespace: str, parameter_file: str) -> Callable: test_file_base_path = pathlib.Path(__file__).parent.absolute() data_file_full_path = pathlib.Path(test_file_base_path, parameter_file) - with open(data_file_full_path, "r", encoding="utf-8") as file: + with open(data_file_full_path, encoding="utf-8") as file: parameter_data = yaml.full_load(file) idlist = []