From 45a0ff357fcd6637c47e51e867e0914c8c384cfb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Mon, 26 May 2025 09:26:20 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- src/flask/testing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/flask/testing.py b/src/flask/testing.py index a62c4836..da156cc1 100644 --- a/src/flask/testing.py +++ b/src/flask/testing.py @@ -58,9 +58,9 @@ class EnvironBuilder(werkzeug.test.EnvironBuilder): ) -> None: assert not (base_url or subdomain or url_scheme) or ( base_url is not None - ) != bool( - subdomain or url_scheme - ), 'Cannot pass "subdomain" or "url_scheme" with "base_url".' + ) != bool(subdomain or url_scheme), ( + 'Cannot pass "subdomain" or "url_scheme" with "base_url".' + ) if base_url is None: http_host = app.config.get("SERVER_NAME") or "localhost"