Skip to content

Commit

Permalink
ci: update tests
Browse files Browse the repository at this point in the history
- fix win patch call
- remove py3.7 actions
  • Loading branch information
bhrevol committed Jan 15, 2022
1 parent fe7e610 commit c1d03b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ jobs:
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
- { python: "3.8", os: "ubuntu-latest", session: "mypy" }
- { python: "3.7", os: "ubuntu-latest", session: "mypy" }
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
- { python: "3.8", os: "ubuntu-latest", session: "tests" }
- { python: "3.7", os: "ubuntu-latest", session: "tests" }
- { python: "3.10", os: "windows-latest", session: "tests" }
- { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
Expand Down
6 changes: 2 additions & 4 deletions tests/lpeg/test_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ def mock_registry(mocker: MockerFixture) -> None:
fake_winreg.load_fake_registry(fake_registry)

try:
import winreg

mocker.patch(winreg, "OpenKey", fake_winreg.OpenKey) # type: ignore
mocker.patch(winreg, "EnumValue", fake_winreg.EnumValue) # type: ignore
mocker.patch("winreg.OpenKey", fake_winreg.OpenKey) # type: ignore
mocker.patch("winreg.EnumValue", fake_winreg.EnumValue) # type: ignore
except ImportError:
pass

Expand Down

0 comments on commit c1d03b5

Please sign in to comment.