[Checkins] [zopefoundation/zope.app.wsgi] bcbd60: Avoid deprecation warning on `base64.b64encode`.

GitHub noreply at github.com
Fri Sep 30 17:46:12 CEST 2016

  Branch: refs/heads/avoid-deprecation
  Home:   https://github.com/zopefoundation/zope.app.wsgi
  Commit: bcbd608137d3d96e1659665cf06c37be23a3997e
  Author: Steffen Allner <sa at gocept.com>
  Date:   2016-09-30 (Fri, 30 Sep 2016)

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

  Log Message:
  Avoid deprecation warning on `base64.b64encode`.

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