[Checkins] [zopefoundation/zope.app.wsgi] 4b02de: Avoid deprecation warning with `base64.b64encode`....

GitHub noreply at github.com
Tue Oct 25 16:52:12 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.app.wsgi
  Commit: 4b02de78425ddfcb178ec28d096dff7b8a537e0c
      https://github.com/zopefoundation/zope.app.wsgi/commit/4b02de78425ddfcb178ec28d096dff7b8a537e0c
  Author: Steffen Allner <sa at gocept.com>
  Date:   2016-10-25 (Tue, 25 Oct 2016)

  Changed paths:
    M CHANGES.txt
    M src/zope/app/wsgi/testlayer.py
    M src/zope/app/wsgi/tests.py

  Log Message:
  -----------
  Avoid deprecation warning with `base64.b64encode`. (#4)

Projects which depend on the `zope.app.wsgi.testlayer` will have a
`DeprecationWarning` issued when used with Python 3. This is in particular
troublesome when it happens in doctests. We have this method in a variety of
places in the packages of Zopefoundation, which makes it harder to update them
all at once.




More information about the checkins mailing list