'A created L{URLPath} has bytes attributes.'

def test_allAttributesAreBytes(self):

    self.assertIsInstance(self.path.scheme, bytes)
    self.assertIsInstance(self.path.netloc, bytes)
    self.assertIsInstance(self.path.path, bytes)
    self.assertIsInstance(self.path.query, bytes)
    self.assertIsInstance(self.path.fragment, bytes)
