mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
https://bugs.gentoo.org/976743
|
|
|
|
From d59bf55e4de139a591671a2b86e8c421ca8ba9bf Mon Sep 17 00:00:00 2001
|
|
From: Sam Bull <git@sambull.org>
|
|
Date: Fri, 8 May 2026 21:04:01 +0100
|
|
Subject: [PATCH 1/2] Add '__annotations_cache__' to SKIP_METHODS
|
|
|
|
---
|
|
tests/test_frozenlist.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/tests/test_frozenlist.py b/tests/test_frozenlist.py
|
|
index c37f5c0d..7a7f38c4 100644
|
|
--- a/tests/test_frozenlist.py
|
|
+++ b/tests/test_frozenlist.py
|
|
@@ -14,6 +14,7 @@ class FrozenListMixin:
|
|
|
|
SKIP_METHODS = {
|
|
"__abstractmethods__",
|
|
+ "__annotations_cache__",
|
|
"__slots__",
|
|
"__static_attributes__",
|
|
"__firstlineno__",
|
|
|
|
From 9fe5ca834512bdb3455865792c66b443350bf2a0 Mon Sep 17 00:00:00 2001
|
|
From: Sam Bull <git@sambull.org>
|
|
Date: Fri, 8 May 2026 21:25:36 +0100
|
|
Subject: [PATCH 2/2] Apply suggestion from @Dreamsorcerer
|
|
|
|
---
|
|
tests/test_frozenlist.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/tests/test_frozenlist.py b/tests/test_frozenlist.py
|
|
index 7a7f38c4..40476c90 100644
|
|
--- a/tests/test_frozenlist.py
|
|
+++ b/tests/test_frozenlist.py
|
|
@@ -14,6 +14,7 @@ class FrozenListMixin:
|
|
|
|
SKIP_METHODS = {
|
|
"__abstractmethods__",
|
|
+ "__annotate_func__",
|
|
"__annotations_cache__",
|
|
"__slots__",
|
|
"__static_attributes__",
|
|
|