'L{client._parse} should return C{str} for the scheme, host, and path
elements of its return tuple, even when passed an URL which has
previously been passed to L{urlparse} as a C{unicode} string.'

def test_externalUnicodeInterference(self):

    if (not six.PY2):
        raise unittest.SkipTest('Applies    only    to    Py2,    as    urls    can    be    ONLY    unicode    on    Py3')
    badInput = u'http://example.com/path'
    goodInput = badInput.encode('ascii')
    self._parse(badInput)
    (scheme, netloc, host, port, path) = self._parse(goodInput)
    self.assertTrue(isinstance(scheme, str))
    self.assertTrue(isinstance(netloc, str))
    self.assertTrue(isinstance(host, str))
    self.assertTrue(isinstance(path, str))
    self.assertTrue(isinstance(port, int))
