This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit a31ccb780d2d867c641ac2aa3c705f39c907a03f Author: Jarek Potiuk <[email protected]> AuthorDate: Sun Nov 15 03:41:17 2020 +0100 Use PyUpgrade to use Python 3.6 features (#11447) Use features like `f-strings` instead of format across the code-base. More details: https://github.com/asottile/pyupgrade (cherry-picked from commit 8c42cf1b00c90f0d7f11b8a3a455381de8e003c5) --- chart/tests/test_chart_quality.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/tests/test_chart_quality.py b/chart/tests/test_chart_quality.py index 3898941..32237cb 100644 --- a/chart/tests/test_chart_quality.py +++ b/chart/tests/test_chart_quality.py @@ -28,9 +28,9 @@ CHART_FOLDER = os.path.dirname(os.path.dirname(__file__)) class ChartQualityTest(unittest.TestCase): def test_values_validate_schema(self): - with open(os.path.join(CHART_FOLDER, "values.yaml"), "r") as f: + with open(os.path.join(CHART_FOLDER, "values.yaml")) as f: values = yaml.safe_load(f) - with open(os.path.join(CHART_FOLDER, "values.schema.json"), "r") as f: + with open(os.path.join(CHART_FOLDER, "values.schema.json")) as f: schema = json.load(f) # Add extra restrictions just for the tests to make sure
