diff --git a/.builds/tests-release.yaml b/.builds/tests-release.yaml index ef5c4d2..dce61f7 100644 --- a/.builds/tests-release.yaml +++ b/.builds/tests-release.yaml @@ -29,11 +29,6 @@ tasks: export PATH=$PATH:~/.local/bin/ make -e ci-test make -e ci-test-storage - - style: | - cd vdirsyncer - # Non-system python is used for packages: - export PATH=$PATH:~/.local/bin/ - make -e style - check-secrets: | # Stop here if this is a PR. PRs can't run with the below secrets. [ -f ~/fastmail-secrets ] || complete-build diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69f5a3f..7ef5958 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: isort name: isort (python) - repo: https://github.com/asottile/pyupgrade - rev: v2.25.0 + rev: v2.26.0 hooks: - id: pyupgrade args: [--py37-plus] diff --git a/tests/system/utils/test_main.py b/tests/system/utils/test_main.py index 4403582..d7c25fd 100644 --- a/tests/system/utils/test_main.py +++ b/tests/system/utils/test_main.py @@ -1,5 +1,4 @@ import logging -import sys import aiohttp import click_log @@ -103,10 +102,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", [])