Skip to content

Commit

Permalink
Add Python 3.11 and 3.12 to CI (#96)
Browse files Browse the repository at this point in the history
* Add Python 3.11 and 3.12 to CI

* Fix linting error
  • Loading branch information
JeffLIrion committed Apr 6, 2024
1 parent a978400 commit 9fb4fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions tests/patchers.py
Expand Up @@ -20,8 +20,7 @@ def read(self):

def readlines(self):
"""Mock reading line by line from a file."""
for line in self._content.splitlines():
yield line
yield from self._content.splitlines()

def write(self, content):
"""Mock writing to a file."""
Expand Down

0 comments on commit 9fb4fa8

Please sign in to comment.