def METHOD_NAME(self):
    with pytest.raises(ValueError):
        S3FileSystem.parse_path("http://bucket")
    with pytest.raises(ValueError):
        S3FileSystem.parse_path("s3://bucket?")
    with pytest.raises(ValueError):
        S3FileSystem.parse_path("s3://bucket?foo=bar")
    with pytest.raises(ValueError):
        S3FileSystem.parse_path("s3://bucket/path/to/obj?foo=bar")
    with pytest.raises(ValueError):
        S3FileSystem.parse_path("s3a://bucket?")
    with pytest.raises(ValueError):
        S3FileSystem.parse_path("s3a://bucket?foo=bar")
    with pytest.raises(ValueError):
        S3FileSystem.parse_path("s3a://bucket/path/to/obj?foo=bar")