test_run imports StringIO, not available in Python 3

Bug #688729 reported by Jonathan Lange
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Critical
Martin Packman

Bug Description

testtools.tests.test_run imports StringIO.StringIO. That does not work in Python 3, causing the test suite to crash.

Tags: python3
Jonathan Lange (jml)
Changed in testtools:
assignee: nobody → Martin [gz] (gz)
status: Triaged → Fix Committed
Changed in testtools:
status: Fix Committed → Fix Released
Revision history for this message
Christian Faulhammer (fauli) wrote :

In 0.9.10 this happens again. Someone introduced StringIO.

Revision history for this message
Martin Packman (gz) wrote :

I see that. Fixed it and some other things and get 27 failures. Probably wants a new bug, though.

Revision history for this message
Jonathan Lange (jml) wrote :

Oops. Sorry.

mgz, did you file that new bug?

Am at a Canonical pre-UDS thing & will be busy with it and then UDS for the next week or so. Hope to get some time to do testtools stuff soon after that.

Revision history for this message
Martin Packman (gz) wrote :

Nope, just posted the mp which you've already found and landed, so it's done.

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.