Use Python 3.13 Beta 3 in Test Suite (#4336)

Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
This commit is contained in:
Harshil 2024-07-03 13:04:45 -04:00 committed by GitHub
parent 97226b1ae3
commit 4213c12c5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@ on:
paths:
- telegram/**
- tests/**
- .github/workflows/unit_tests.yml
- pyproject.toml
- requirements-unit-tests.txt
push:
@ -19,7 +20,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-beta.2']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-beta.3']
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: False
steps:

View file

@ -2460,7 +2460,7 @@ class TestApplication:
monkeypatch.setattr(Application, "start", functools.partial(callback, name="start"))
monkeypatch.setattr(
Updater, "start_polling", functools.partial(callback, name="start_polling")
Updater, "start_polling", functools.partialmethod(callback, name="start_polling")
)
app = (