[Checkins] [zopefoundation/zope.security] b0da82: Fix issue 9: add default checkers for itertools.gr...

GitHub noreply at github.com
Thu Sep 7 16:55:30 CEST 2017


  Branch: refs/heads/issue9
  Home:   https://github.com/zopefoundation/zope.security
  Commit: b0da82942349560c165705c7eb6855b6c5c09fbc
      https://github.com/zopefoundation/zope.security/commit/b0da82942349560c165705c7eb6855b6c5c09fbc
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-07 (Thu, 07 Sep 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/security/checker.py
    M src/zope/security/proxy.py
    M src/zope/security/tests/test_checker.py

  Log Message:
  -----------
  Fix issue 9: add default checkers for itertools.groupby

This exposed a bug in the pure-python implementation of #28, so fix
that as well (the AttributeError would propagate when it wasn't
supposed to...this was fixed in C because the doctests are what
exposed that, and they're not yet run by default in all tox environments).

Also rename all the test classes in test_checker for consistency. I
changed the test_suite function to not call them out by name and
noticed the number of tests run dropped. At first I thought it had
something to do with test class names or inheritance, so I made them
all consistent. But it turned out that the manual list actually had
some duplicates in it.




More information about the checkins mailing list