Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-scikit-learn
support-pytest-8.3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File support-pytest-8.3.patch of Package python-scikit-learn
From 4650e75e543718b2c0d9cf7c56aa9dda3c670c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= <loic.esteve@ymail.com> Date: Tue, 23 Jul 2024 05:36:37 +0200 Subject: [PATCH 4/4] [azure parallel] fix wrapping for pytest 8.3.1 --- sklearn/utils/deprecation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/utils/deprecation.py b/sklearn/utils/deprecation.py index a3225597701c7..f72f8b8124f28 100644 --- a/sklearn/utils/deprecation.py +++ b/sklearn/utils/deprecation.py @@ -97,7 +97,7 @@ def _decorate_property(self, prop): msg = self.extra @property - @functools.wraps(prop) + @functools.wraps(prop.fget) def wrapped(*args, **kwargs): warnings.warn(msg, category=FutureWarning) return prop.fget(*args, **kwargs)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor