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

GitHub noreply at github.com
Wed Sep 5 20:26:35 CEST 2018


  Branch: refs/heads/issue-50
  Home:   https://github.com/zopefoundation/zope.security
  Commit: 024cb9a48aa183749798c8f50fd24d61ec64cf7a
      https://github.com/zopefoundation/zope.security/commit/024cb9a48aa183749798c8f50fd24d61ec64cf7a
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-09-05 (Wed, 05 Sep 2018)

  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`.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list