Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No comparison of properties. #312

Closed
yogeveran opened this issue May 8, 2022 · 1 comment
Closed

No comparison of properties. #312

yogeveran opened this issue May 8, 2022 · 1 comment

Comments

@yogeveran
Copy link

yogeveran commented May 8, 2022

Describe the bug
No comparison of properties.

To Reproduce

import numpy as np
from deepdiff import DeepDiff
class A:
    def __init__(self, a):
        self.a = a
    @property
    def array(self):
        return np.random.random(2)

print(DeepDiff(A(1),A(1))

Expected behavior
Difference of properties.

No difference is reported.

@seperman
Copy link
Owner

This is resolved in the 5.8.1 release: https://zepworks.com/deepdiff/current/#new-in-deepdiff-5-8-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants