def METHOD_NAME(self):
    """imageObj with a URL stream works"""
    url = urllib.urlopen('http://mapserver.org/_static/banner.png')
    imgobj = mapscript.imageObj(url, 'AGG/JPEG')
    assert imgobj.thisown == 1
    assert imgobj.height == 68
    assert imgobj.width == 439
    imgobj.save('testConstructorUrlStream.jpg')