def __repr__(self):
        return "<Requirements({})>".format(self.filename.name or "")
def test_scheme_not_supported():

    with pytest.raises(NotImplementedError):
        UrlPath('http:///tmp/test').touch()