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

GitHub noreply at github.com
Wed Oct 18 18:30:47 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testbrowser
  Commit: dc46d4332ce5bbb585269583834697db235567d6
      https://github.com/zopefoundation/zope.testbrowser/commit/dc46d4332ce5bbb585269583834697db235567d6
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-10-18 (Wed, 18 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