Skip to content

Commit 1ac3dfa

Browse files
authored
TST: update expected due to change in tiles (#243)
1 parent 4c7b8a3 commit 1ac3dfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def test_warp_tiles():
127127
)
128128
assert wimg[100, 100, :].tolist() == [247, 246, 241, 255]
129129
assert wimg[100, 200, :].tolist() == [246, 246, 241, 255]
130-
assert wimg[20, 120, :].tolist() == [139, 128, 148, 255]
130+
assert wimg[20, 120, :].tolist() == [139, 128, 149, 255]
131131

132132

133133
@pytest.mark.network
@@ -144,7 +144,7 @@ def test_warp_img_transform():
144144
wimg, _ = cx.warp_img_transform(img, rtr.transform, rtr.crs, "epsg:4326")
145145
assert wimg[:, 100, 100].tolist() == [247, 246, 241, 255]
146146
assert wimg[:, 100, 200].tolist() == [246, 246, 241, 255]
147-
assert wimg[:, 20, 120].tolist() == [139, 128, 148, 255]
147+
assert wimg[:, 20, 120].tolist() == [139, 128, 149, 255]
148148

149149

150150
def test_howmany():

0 commit comments

Comments
 (0)