From 33a7811d24ea88c558ec03acf5e016e7c84ddefa Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 27 Dec 2025 11:39:07 +0100 Subject: skip property no-name tests on Python 3.13 --- tests/test_util.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_util.py b/tests/test_util.py index bf4c08988..edeb6d3b6 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -65,6 +65,10 @@ class Test_InstancePropertyHelper(unittest.TestCase): self.assertEqual(2, foo.x) self.assertEqual(1, foo.y) + @unittest.skipIf( + sys.version_info >= (3, 13), + "property() has a __name__ starting in Python 3.13", + ) def test_property_without_name(self): def worker(obj): # pragma: no cover pass @@ -270,6 +274,10 @@ class Test_InstancePropertyMixin(unittest.TestCase): self.assertEqual(2, foo.x) self.assertEqual(1, foo.y) + @unittest.skipIf( + sys.version_info >= (3, 13), + "property() has a __name__ starting in Python 3.13", + ) def test_property_without_name(self): def worker(obj): # pragma: no cover pass -- cgit v1.2.3