[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-09-13 18:57:15 +00:00
parent acf29cf659
commit f5c2026dcf

View file

@ -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", [])