A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SciTools/cartopy/issues/2012 below:

pyshp-2.2.0 test failure · Issue #2012 · SciTools/cartopy · GitHub

I'm building proj9 for fedora, and rebuilding cartopy against it yielded the following test failure:

=================================== FAILURES ===================================
___________________________ TestLakes.test_geometry ____________________________
[gw0] linux -- Python 3.10.2 /usr/bin/python3

self = <cartopy.tests.test_shapereader.TestLakes object at 0x7f7df66ec190>

    def test_geometry(self):
        lake_geometry = self.test_lake_geometry
        assert lake_geometry.type == 'Polygon'
    
        polygon = lake_geometry
    
        expected = np.array([(-84.85548682324658, 11.147898667846633),
                            (-85.29013729525353, 11.176165676310276),
                            (-85.79132117383625, 11.509737046754324),
                            (-85.8851655748783, 11.900100816287136),
                            (-85.5653401354239, 11.940330918826362),
                            (-85.03684526237491, 11.5216484643976),
                            (-84.85548682324658, 11.147898667846633),
                            (-84.85548682324658, 11.147898667846633)])
    
>       assert_array_almost_equal(expected, polygon.exterior.coords)
E       AssertionError: 
E       Arrays are not almost equal to 6 decimals
E       
E       Mismatched elements: 12 / 16 (75%)
E       Max absolute difference: 0.75447591
E       Max relative difference: 0.00887234
E        x: array([[-84.855487,  11.147899],
E              [-85.290137,  11.176166],
E              [-85.791321,  11.509737],...
E        y: array([[-84.855487,  11.147899],
E              [-84.855487,  11.147899],
E              [-85.036845,  11.521648],...

../../BUILDROOT/python-cartopy-0.20.1-1.fc37.x86_64/usr/lib64/python3.10/site-packages/cartopy/tests/test_shapereader.py:45: AssertionError
---------------------------- Captured stdout setup -----------------------------

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4