Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
python-datadiff
support-python312.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File support-python312.patch of Package python-datadiff
Index: datadiff-2.2.0/datadiff/tests/test_datadiff.py =================================================================== --- datadiff-2.2.0.orig/datadiff/tests/test_datadiff.py +++ datadiff-2.2.0/datadiff/tests/test_datadiff.py @@ -377,8 +377,12 @@ def test_DataDiff_change_type(): def test_unhashable_type(): + class UnhashableType: + def __eq__(self, other): + return False + a = [] - b = [slice(1)] + b = [UnhashableType()] pytest.raises(NotHashable, diff, a, b)
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