summaryrefslogtreecommitdiff
path: root/tests/test_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py8
1 files changed, 8 insertions, 0 deletions
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