From 9a46ccec538652bccfd7390fe8b244774a643ac9 Mon Sep 17 00:00:00 2001 From: "pixeebot[bot]" <104101892+pixeebot[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 07:43:30 -0300 Subject: [PATCH] Remove Unnecessary F-strings (#359) Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com> --- integration_tests/test_flask_enable_csrf_protection.py | 2 +- integration_tests/test_process_sandbox.py | 2 +- integration_tests/test_url_sandbox.py | 2 +- integration_tests/test_use_defusedxml.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/integration_tests/test_flask_enable_csrf_protection.py b/integration_tests/test_flask_enable_csrf_protection.py index b45b1b95..12914205 100644 --- a/integration_tests/test_flask_enable_csrf_protection.py +++ b/integration_tests/test_flask_enable_csrf_protection.py @@ -39,7 +39,7 @@ class TestFlaskEnableCSRFProtection(BaseIntegrationTest): requirements_path = "tests/samples/requirements.txt" original_requirements = "# file used to test dependency management\nrequests==2.31.0\nblack==23.7.*\nmypy~=1.4\npylint>1\n" expected_new_reqs = ( - f"# file used to test dependency management\n" + "# file used to test dependency management\n" "requests==2.31.0\n" "black==23.7.*\n" "mypy~=1.4\n" diff --git a/integration_tests/test_process_sandbox.py b/integration_tests/test_process_sandbox.py index 5c5e0d1b..5f0cfa4e 100644 --- a/integration_tests/test_process_sandbox.py +++ b/integration_tests/test_process_sandbox.py @@ -28,7 +28,7 @@ class TestProcessSandbox(BaseIntegrationTest): requirements_path = "tests/samples/requirements.txt" original_requirements = "# file used to test dependency management\nrequests==2.31.0\nblack==23.7.*\nmypy~=1.4\npylint>1\n" expected_new_reqs = ( - f"# file used to test dependency management\n" + "# file used to test dependency management\n" "requests==2.31.0\n" "black==23.7.*\n" "mypy~=1.4\n" diff --git a/integration_tests/test_url_sandbox.py b/integration_tests/test_url_sandbox.py index 31aeae3f..be4e8b13 100644 --- a/integration_tests/test_url_sandbox.py +++ b/integration_tests/test_url_sandbox.py @@ -38,7 +38,7 @@ class TestUrlSandbox(BaseIntegrationTest): requirements_path = "tests/samples/requirements.txt" original_requirements = "# file used to test dependency management\nrequests==2.31.0\nblack==23.7.*\nmypy~=1.4\npylint>1\n" expected_new_reqs = ( - f"# file used to test dependency management\n" + "# file used to test dependency management\n" "requests==2.31.0\n" "black==23.7.*\n" "mypy~=1.4\n" diff --git a/integration_tests/test_use_defusedxml.py b/integration_tests/test_use_defusedxml.py index 22cec1d4..a1eca25c 100644 --- a/integration_tests/test_use_defusedxml.py +++ b/integration_tests/test_use_defusedxml.py @@ -41,7 +41,7 @@ class TestUseDefusedXml(BaseIntegrationTest): requirements_path = "tests/samples/requirements.txt" original_requirements = "# file used to test dependency management\nrequests==2.31.0\nblack==23.7.*\nmypy~=1.4\npylint>1\n" expected_new_reqs = ( - f"# file used to test dependency management\n" + "# file used to test dependency management\n" "requests==2.31.0\n" "black==23.7.*\n" "mypy~=1.4\n"