Skip to content

Commit

Permalink
Merge pull request #1221 from agoscinski/py3.13-support
Browse files Browse the repository at this point in the history
Support tests for up to py3.13
  • Loading branch information
scottkmaxwell authored Jan 24, 2025
2 parents 2ade09f + 2ebc858 commit 1f15096
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion tests/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import sysconfig
import concurrent

from unittest import skip, skipIf, TestCase, TestSuite, findTestCases # noqa: F401
from unittest import skip, skipIf, TestCase, TestSuite # noqa: F401

from tornado.testing import AsyncTestCase
from unittest import mock
Expand Down
Empty file.
1 change: 1 addition & 0 deletions tests/venv/lib/python3.12/orig-prefix.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Library/Frameworks/Python.framework/Versions/3.12
3 changes: 3 additions & 0 deletions tests/venv/lib/python3.12/site-packages/easy-install.pth
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import sys; sys.__plen = len(sys.path)
./pip-7.7-py3.12.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)
Empty file.
1 change: 1 addition & 0 deletions tests/venv/lib/python3.13/orig-prefix.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Library/Frameworks/Python.framework/Versions/3.13
3 changes: 3 additions & 0 deletions tests/venv/lib/python3.13/site-packages/easy-install.pth
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import sys; sys.__plen = len(sys.path)
./pip-7.7-py3.13.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

0 comments on commit 1f15096

Please sign in to comment.