Please enable subunit support on Python 3.x

Bug #1136318 reported by Arfrever Frehtes Taifersar Arahesis
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zope.testrunner
Invalid
Undecided
Unassigned

Bug Description

python-subunit has been supporting Python 3 for long time, so code in lines 33-46 in setup.py can be simplified.

Revision history for this message
Arfrever Frehtes Taifersar Arahesis (arfrever-fta) wrote :

Also 'extra' dictionary is no longer used.

Revision history for this message
Arfrever Frehtes Taifersar Arahesis (arfrever-fta) wrote :

Probably some code in tox.ini can be simplified.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

If I run zope.testrunner's tests with python-subunit in sys.path on Python 3.x, I get a bunch of test failures that say

    AttributeError: '_io.StringIO' object has no attribute 'buffer'

or

    AttributeError: '_io.StringIO' object has no attribute 'buffer'

all in deep in subunit's make_stream_binary(). I'm guessing zope.testrunner's test fixture (subbed-out sys.stdout?) is incompatible with the assumptions that subunit makes.

Help would be appreciated.

summary: - Dependency on python-subunit in setup.py should be updated
+ Please enable subunit support on Python 3.x
Revision history for this message
Domen Kožar (ielectric+) wrote :

+1

Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.testrunner project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.testrunner.

Changed in zope.testrunner:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.