[Checkins] [zopefoundation/Zope] c4a76d: fix regression in doctest functional helper: sort ...

GitHub noreply at github.com
Thu Apr 12 08:09:57 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: c4a76d9486c48d5fd5253c7a19c32f070c40b3a4
      https://github.com/zopefoundation/Zope/commit/c4a76d9486c48d5fd5253c7a19c32f070c40b3a4
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-04-12 (Thu, 12 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:
  -----------
  fix regression in doctest functional helper: sort headers (#259)

* fix regression in doctest functional helper: sort headers

* 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