From f5c2026dcf3a6c46108a45d37287762e42805ed9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Sep 2021 18:57:15 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/system/utils/test_main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/system/utils/test_main.py b/tests/system/utils/test_main.py index 4403582..6a329f0 100644 --- a/tests/system/utils/test_main.py +++ b/tests/system/utils/test_main.py @@ -103,10 +103,7 @@ def test_open_graphical_browser(monkeypatch): # Just assert that this internal attribute still exists and behaves the way # expected - if sys.version_info < (3, 7): - iter(webbrowser._tryorder) - else: - assert webbrowser._tryorder is None + assert webbrowser._tryorder is None monkeypatch.setattr("webbrowser._tryorder", [])