[Checkins] [zopefoundation/Zope] a76d58: Return body as str not bytes in Python 3.

GitHub noreply at github.com
Fri Apr 6 10:40:09 CEST 2018


  Branch: refs/heads/fix-doctest
  Home:   https://github.com/zopefoundation/Zope
  Commit: a76d5897fb21a0357d1fd054b22632198689f820
      https://github.com/zopefoundation/Zope/commit/a76d5897fb21a0357d1fd054b22632198689f820
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M src/Testing/ZopeTestCase/functional.py
    M src/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
    M src/Testing/ZopeTestCase/zopedoctest/functional.py

  Log Message:
  -----------
  Return body as str not bytes in Python 3.

When printing a bytes object the newlines are printed as \n instead of newlines.

Additionally fix the one test broken by the change.




More information about the checkins mailing list