commit: d8d8b84a659918f6befd69a59886e2ff631dd51e
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Sun Dec 7 21:07:54 2025 +0000
Commit: Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Sun Dec 7 21:07:54 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=d8d8b84a
chore: add missing skipif for deprecation.Registry tests for <py3.13
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
tests/test_deprecation.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/test_deprecation.py b/tests/test_deprecation.py
index 9bc6280..a409e04 100644
--- a/tests/test_deprecation.py
+++ b/tests/test_deprecation.py
@@ -110,6 +110,7 @@ class TestRegistry:
== list(r)[0]
)
+ @requires_enabled
def test_expired_deprecations(self):
r = Registry("asdf")
@@ -142,6 +143,8 @@ class TestRegistry:
)
)
+ # this is the seul registry functionality which still will test validly in
<py3.13. We flex
+ # it solely to confirm we're not causing runtime issues in those
environments.
def test_code_directive(self):
r = Registry("test")
assert None is r.code_directive(