def test_large_both_width(self):
        ts = 150
        (width, height) = _scale_dimensions(ts * 20 + 8, ts * 4 + 36, ts)
        eq_(ts, width)
        eq_(31, height)
An image with both large is scaled to the largest - width.
dataset/ETHPy150Open mozilla/kitsune/kitsune/upload/tests/test_tasks.py/ScaleDimensionsTestCase.test_large_both_width