def test_noUnicode(self):
        s = proto_helpers.StringTransport()
        self.assertRaises(TypeError, s.write, u'foo')
Test that L{proto_helpers.StringTransport} doesn't accept unicode data.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/StringTransportTestCase.test_noUnicode