def METHOD_NAME(self, png_img):
    size = png_img.default_size
    png_img.scale(width_factor=10, lock_aspect_ratio=True)
    assert png_img.width == 10 * size.width
    assert png_img.height == 10 * size.height