Ticket #3015 enhancement closed duplicate
StringIOWithoutClosing code duplicated in many test suites
|Reported by:||danderson||Owned by:|
StringIOWithoutClosing is reproduced, with slight variations, in two suites in twisted.test and three suites in twisted.words.test . The class should be factored out into a common helper in twisted.core. Actually, the common helper should build a StringIO transport, not just a tweaked StringIO, so that all tests properly use a real transport implementation (twisted.words currently has problems with this).