def test_shapely(): t = Affine(425.0, 0.0, -237481.5, 0.0, -425.0, 237536.4) assert t.to_shapely() == (425.0, 0.0, 0.0, -425, -237481.5, 237536.4)