[Checkins] [zopefoundation/zope.security] cceada: Fix comparison for classes implementing __eq__.

GitHub noreply at github.com
Sat Dec 30 08:18:13 CET 2017


  Branch: refs/heads/issue-50
  Home:   https://github.com/zopefoundation/zope.security
  Commit: cceada3c892cbe596b60da934c576372a2e66f1d
      https://github.com/zopefoundation/zope.security/commit/cceada3c892cbe596b60da934c576372a2e66f1d
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-12-30 (Sat, 30 Dec 2017)

  Changed paths:
    M src/zope/security/tests/test_proxy.py

  Log Message:
  -----------
  Fix comparison for classes implementing __eq__.

There are currently only two new failing tests:

* Comparing an object with a proxy of the object fails (but comparing the proxy with the object is fine!)
* Comparing a proxy with itself fails

But these tests run fine when deleting the `__eq__` method on the `Something` class which is the class of `self.x`.




More information about the checkins mailing list