'L{URLPath.fromBytes} must take a L{bytes} argument.'

def test_mustBeBytes(self):

    with self.assertRaises(ValueError):
        urlpath.URLPath.fromBytes(None)
    with self.assertRaises(ValueError):
        urlpath.URLPath.fromBytes(u'someurl')
