Control: tags -1 + patch The attached patch adjusts the test output for NumPy 1.14.
However, with this patch in place, python-pydap will need a build-dependency on python-numpy (>= 1:1.14~) and its autopkgtests will fail with NumPy 1.13.
Description: Fix FTBFS with NumPy 1.14 Bug-Debian: https://bugs.debian.org/900486 Author: Graham Inggs <gin...@debian.org> Last-Update: 2018-06-20 --- a/src/pydap/tests/test_responses_ascii.py +++ b/src/pydap/tests/test_responses_ascii.py @@ -48,7 +48,7 @@ ('XDODS-Server', 'pydap/' + __version__), ('Content-description', 'dods_ascii'), ('Content-type', 'text/plain; charset=ascii'), - ('Content-Length', '440')])) + ('Content-Length', '436')])) def test_body(self): """Test the generated ASCII response.""" @@ -66,8 +66,8 @@ } SimpleSequence; --------------------------------------------- cast.id, cast.lon, cast.lat, cast.depth, cast.time, cast.temperature, cast.salinity, cast.pressure -"1", 100, -10, 0, -1, 21, 35, 0 -"2", 200, 10, 500, 1, 15, 35, 100 +1, 100, -10, 0, -1, 21, 35, 0 +2, 200, 10, 500, 1, 15, 35, 100 """) --- a/src/pydap/tests/test_wsgi_functions.py +++ b/src/pydap/tests/test_wsgi_functions.py @@ -45,8 +45,8 @@ '---------------------------------------------\n' 'cast.id, cast.lon, cast.lat, cast.depth, cast.time, ' 'cast.temperature, cast.salinity, cast.pressure\n' - '"1", 100, -10, 0, -1, 21, 35, 0\n' - '"2", 200, 10, 500, 1, 15, 35, 100\n' + '1, 100, -10, 0, -1, 21, 35, 0\n' + '2, 200, 10, 500, 1, 15, 35, 100\n' '\n') def test_projection(self): @@ -161,7 +161,7 @@ '---------------------------------------------\n' 'cast.id, cast.lon, cast.lat, cast.depth, cast.time, ' 'cast.temperature, cast.salinity, cast.pressure\n' - '"2", 200, 10, 500, 1, 15, 35, 100\n' + '2, 200, 10, 500, 1, 15, 35, 100\n' '\n') def test_subset_with_selection(self): @@ -185,7 +185,7 @@ '---------------------------------------------\n' 'cast.id, cast.lon, cast.lat, cast.depth, cast.time, ' 'cast.temperature, cast.salinity, cast.pressure\n' - '"1", 100, -10, 0, -1, 21, 35, 0\n' + '1, 100, -10, 0, -1, 21, 35, 0\n' '\n') def test_projection(self): @@ -224,7 +224,7 @@ '---------------------------------------------\n' 'cast.id, cast.lon, cast.lat, cast.depth, cast.time, ' 'cast.temperature, cast.salinity, cast.pressure\n' - '"1", 100, -10, 0, -1, 21, 35, 0\n' + '1, 100, -10, 0, -1, 21, 35, 0\n' '\n') def test_grads_step(self): --- a/src/pydap/tests/test_wsgi_ssf.py +++ b/src/pydap/tests/test_wsgi_ssf.py @@ -68,7 +68,7 @@ } SimpleSequence; --------------------------------------------- cast.id, cast.lon, cast.lat, cast.depth, cast.time, cast.temperature, cast.salinity, cast.pressure -"2", 200, 10, 500, 1, 15, 35, 100 +2, 200, 10, 500, 1, 15, 35, 100 """)