[Checkins] [zopefoundation/zope.testrunner] 7f43f3: Fix tests on PyPy

GitHub noreply at github.com
Wed Jan 22 15:49:54 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testrunner
  Commit: 7f43f3b725ca35118c3ea09a56f9061dbefdd55c
      https://github.com/zopefoundation/zope.testrunner/commit/7f43f3b725ca35118c3ea09a56f9061dbefdd55c
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2014-01-22 (Wed, 22 Jan 2014)

  Changed paths:
    M src/zope/testrunner/formatter.py

  Log Message:
  -----------
  Fix tests on PyPy

PyPy got a real curses module since version 2.0, and it so happens that
it raises AttributeError: _SpoofOut instance has no attribute 'fileno'
when you call curses.setupterm() from a doctest.

You can see the error at
https://travis-ci.org/zopefoundation/zope.testrunner/jobs/17257482

and you can see how different Python versions produce different
exceptions in this situation at https://gist.github.com/mgedmin/8559853




More information about the checkins mailing list