Skip to content

Commit f5c2026

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent acf29cf commit f5c2026

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/system/utils/test_main.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,7 @@ def test_open_graphical_browser(monkeypatch):
103103

104104
# Just assert that this internal attribute still exists and behaves the way
105105
# expected
106-
if sys.version_info < (3, 7):
107-
iter(webbrowser._tryorder)
108-
else:
109-
assert webbrowser._tryorder is None
106+
assert webbrowser._tryorder is None
110107

111108
monkeypatch.setattr("webbrowser._tryorder", [])
112109

0 commit comments

Comments
 (0)