diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-22 23:59:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-22 23:59:31 +0100 |
commit | 1f00990debeffd0052c194989d0a02baac23eb96 (patch) | |
tree | ecc3dfafe935354404f7a0689a6ad809ebaba580 /sci-libs/cartopy/files/cartopy-0.21.1-fix-test.patch | |
parent | 02eb6576978c38afed5787f6f2dbab8353379d66 (diff) |
gentoo auto-resync : 22:04:2024 - 23:59:31
Diffstat (limited to 'sci-libs/cartopy/files/cartopy-0.21.1-fix-test.patch')
-rw-r--r-- | sci-libs/cartopy/files/cartopy-0.21.1-fix-test.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sci-libs/cartopy/files/cartopy-0.21.1-fix-test.patch b/sci-libs/cartopy/files/cartopy-0.21.1-fix-test.patch deleted file mode 100644 index fd308b326c68..000000000000 --- a/sci-libs/cartopy/files/cartopy-0.21.1-fix-test.patch +++ /dev/null @@ -1,28 +0,0 @@ -Matplotlib-3.7 has merged SubplotBase into AxesBase now, which makes the -class string representation here GeoAxes now, even though we are -still an _instance_ of GeoAxesSubplot - -Backported from https://github.com/SciTools/cartopy/commit/6b4572ba1a8a877f28e25dfe9559c14b7a565958?diff=unified -diff --git a/lib/cartopy/tests/mpl/test_axes.py b/lib/cartopy/tests/mpl/test_axes.py -index eaf5904..d4e37a1 100644 ---- a/lib/cartopy/tests/mpl/test_axes.py -+++ b/lib/cartopy/tests/mpl/test_axes.py -@@ -13,7 +13,8 @@ import pytest - - import cartopy.crs as ccrs - import cartopy.feature as cfeature --from cartopy.mpl.geoaxes import InterProjectionTransform, GeoAxes -+from cartopy.mpl.geoaxes import ( -+ InterProjectionTransform, GeoAxes, GeoAxesSubplot) - - - class TestNoSpherical: -@@ -119,7 +120,7 @@ class Test_Axes_add_geometries: - - def test_geoaxes_subplot(): - ax = plt.subplot(1, 1, 1, projection=ccrs.PlateCarree()) -- assert str(ax.__class__) == "<class 'cartopy.mpl.geoaxes.GeoAxesSubplot'>" -+ assert isinstance(ax, GeoAxesSubplot) - - - @pytest.mark.mpl_image_compare(filename='geoaxes_subslice.png') |