| 1 |
From: "Benjamin A. Beasley" <[email protected]> |
| 2 |
Date: Tue, 25 Nov 2025 12:07:49 +0000 |
| 3 |
Subject: Adjust interface test SKIP_METHODS for Python 3.15.0a2 |
| 4 |
|
| 5 |
Origin: https://github.com/aio-libs/frozenlist/pull/723 |
| 6 |
--- |
| 7 |
CHANGES/723.bugfix | 1 + |
| 8 |
tests/test_frozenlist.py | 3 +++ |
| 9 |
2 files changed, 4 insertions(+) |
| 10 |
create mode 100644 CHANGES/723.bugfix |
| 11 |
|
| 12 |
diff --git a/CHANGES/723.bugfix b/CHANGES/723.bugfix |
| 13 |
new file mode 100644 |
| 14 |
index 0000000..5827a26 |
| 15 |
--- /dev/null |
| 16 |
+++ b/CHANGES/723.bugfix |
| 17 |
@@ -0,0 +1 @@ |
| 18 |
+Fix a test regression in Python 3.15.0a2. |
| 19 |
diff --git a/tests/test_frozenlist.py b/tests/test_frozenlist.py |
| 20 |
index c37f5c0..6cc4de3 100644 |
| 21 |
--- a/tests/test_frozenlist.py |
| 22 |
+++ b/tests/test_frozenlist.py |
| 23 |
@@ -17,6 +17,9 @@ class FrozenListMixin: |
| 24 |
"__slots__", |
| 25 |
"__static_attributes__", |
| 26 |
"__firstlineno__", |
| 27 |
+ # Since Python 3.15.0a2: https://github.com/python/cpython/pull/132345 |
| 28 |
+ "__annotate_func__", |
| 29 |
+ "__annotations_cache__", |
| 30 |
} |
| 31 |
|
| 32 |
def test___class_getitem__(self) -> None: |