[Checkins] [zopefoundation/z3c.testsetup] a738af: Fix get_keyword_params().

GitHub noreply at github.com
Tue May 19 23:21:35 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/z3c.testsetup
  Commit: a738afd580f38533a89494f01638211850195c45
      https://github.com/zopefoundation/z3c.testsetup/commit/a738afd580f38533a89494f01638211850195c45
  Author: ulif <uli at gnufix.de>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M CHANGES.rst
    M src/z3c/testsetup/tests/test_util.py
    M src/z3c/testsetup/util.py

  Log Message:
  -----------
  Fix get_keyword_params().

The helper method did not work correctly with methods that accept no
keyword parameters at all.


  Commit: 4231bc51ef910c2e979bd686f6b062ee9adc5956
      https://github.com/zopefoundation/z3c.testsetup/commit/4231bc51ef910c2e979bd686f6b062ee9adc5956
  Author: ulif <uli at gnufix.de>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M CHANGES.rst
    M src/z3c/testsetup/util.py

  Log Message:
  -----------
  Close files properly when looking for markers.

This one kept pypy unhappy. As I did not find a fast, reliable and
platform-independent way to look for open files, there is no regression
test for the problem. On the other hand: pypy tests fail (even more)
miserably without this fix.


  Commit: b11d51fef250642a206e51fc6fd8775b0e0a8e4b
      https://github.com/zopefoundation/z3c.testsetup/commit/b11d51fef250642a206e51fc6fd8775b0e0a8e4b
  Author: ulif <uli at gnufix.de>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M src/z3c/testsetup/util.txt

  Log Message:
  -----------
  Close file in test to keep pypy happy.


  Commit: b2001831c189774fcbafac9b174c3381bbc67ce8
      https://github.com/zopefoundation/z3c.testsetup/commit/b2001831c189774fcbafac9b174c3381bbc67ce8
  Author: ulif <uli at gnufix.de>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M src/z3c/testsetup/functional/functionaldoctestsetup.txt

  Log Message:
  -----------
  Fix test pattern to keep pypy happy.

Now py26, py27, py33, py34, and pypy tests work basically. With tox
and Python 3.x there is still a problem with preferred encodings and
opened files.


Compare: https://github.com/zopefoundation/z3c.testsetup/compare/1bcdf501b6fd...b2001831c189


More information about the checkins mailing list