Skip to content

Commit 73a6285

Browse files
committed
Skip arcgisimage tests for Python 2.x, as it requires PIL and 2.x is approaching end of support
1 parent 8c52a6f commit 73a6285

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mpl_toolkits/basemap/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def test_basemapcreation_should_not_fail(self):
249249
m = Basemap(projection='ortho',resolution=r,lat_1=45.,lat_2=55,lat_0=50,lon_0=-107.)
250250
pass
251251

252+
@skipIf(not PY3, "Test skipped for Python 2.x as it requires PIL installed")
252253
class TestArcgisimage(TestCase):
253254
def test_cyl_proj_should_not_fail(self):
254255
m = Basemap(projection='cyl',

0 commit comments

Comments
 (0)