forked from pool/python-frozenlist
- Add patch support-python314.patch:
* Do not attempt to query annotation internals. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=28
This commit is contained in:
14
support-python314.patch
Normal file
14
support-python314.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: frozenlist-1.8.0/tests/test_frozenlist.py
|
||||
===================================================================
|
||||
--- frozenlist-1.8.0.orig/tests/test_frozenlist.py
|
||||
+++ frozenlist-1.8.0/tests/test_frozenlist.py
|
||||
@@ -29,6 +29,9 @@ class FrozenListMixin:
|
||||
for name in set(dir(MutableSequence)) - self.SKIP_METHODS:
|
||||
if name.startswith("_") and not name.endswith("_"):
|
||||
continue
|
||||
+ # Do not check annotation internals
|
||||
+ if name in ("__annotations_cache__", "__annotate_func__"):
|
||||
+ continue
|
||||
assert hasattr(self.FrozenList, name)
|
||||
|
||||
def test_ctor_default(self) -> None:
|
||||
Reference in New Issue
Block a user