'All of the attributes of L{urlpath.URLPath} should be L{bytes}.'

def test_partsAreBytes(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)
