'C{URLPath.fromString} must take a L{str} or L{unicode} argument.'

def test_mustBeStr(self):

    with self.assertRaises(ValueError):
        urlpath.URLPath.fromString(None)
    if _PY3:
        with self.assertRaises(ValueError):
            urlpath.URLPath.fromString('someurl')
