[Checkins] [zopefoundation/zope.testbrowser] 95735d: Fix ``mechRepr`` on controls to always return a na...

GitHub noreply at github.com
Tue Oct 17 19:22:54 CEST 2017


  Branch: refs/heads/fix-mechRepr
  Home:   https://github.com/zopefoundation/zope.testbrowser
  Commit: 95735d2ffd51c1c8637f146824394ff7432dfd65
      https://github.com/zopefoundation/zope.testbrowser/commit/95735d2ffd51c1c8637f146824394ff7432dfd65
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-10-17 (Tue, 17 Oct 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/testbrowser/browser.py
    M src/zope/testbrowser/tests/test_browser.py

  Log Message:
  -----------
  Fix ``mechRepr`` on controls to always return a native str.

Fixes #38

As the scenario described in the ticket requires the `mechRepr` to be of the same type for all controls I decided to adapt the two remaining control classes which returned unicode to the str approach used by of the majority of the controls.




More information about the checkins mailing list