Antonio Valentino pushed to branch master at Debian GIS Project / pygac
Commits: 92f7ae6a by Antonio Valentino at 2020-08-18T16:02:11+00:00 Fix tests on bigendian platforms - - - - - 3 changed files: - debian/changelog - + debian/patches/0003-Fix-tests-on-bigendian-platforms.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +pygac (1.4.0-2) UNRELEASED; urgency=medium + + * debian/patches: + - new patch 0003-Fix-tests-on-bigendian-platforms.patch + + -- Antonio Valentino <[email protected]> Tue, 18 Aug 2020 16:01:10 +0000 + pygac (1.4.0-1) unstable; urgency=medium [ Antonio Valentino ] ===================================== debian/patches/0003-Fix-tests-on-bigendian-platforms.patch ===================================== @@ -0,0 +1,21 @@ +From: Antonio Valentino <[email protected]> +Date: Tue, 18 Aug 2020 15:59:49 +0000 +Subject: Fix tests on bigendian platforms + +--- + pygac/tests/test_reader.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pygac/tests/test_reader.py b/pygac/tests/test_reader.py +index 6c40c67..13fbb79 100644 +--- a/pygac/tests/test_reader.py ++++ b/pygac/tests/test_reader.py +@@ -60,7 +60,7 @@ class TestGacReader(unittest.TestCase): + def test__read_scanlines(self): + """Test the scanline extraction.""" + self.reader.scanline_type = np.dtype([ +- ('a', 'S2'), ('b', 'i4')]) ++ ('a', 'S2'), ('b', '<i4')]) + # request more scan lines than available + with self.assertWarnsRegex(RuntimeWarning, + "Unexpected number of scanlines!"): ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ 0001-Fix-config.patch 0002-Spelling.patch +0003-Fix-tests-on-bigendian-platforms.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/pygac/-/commit/92f7ae6a2725c6b084ed7ac59f3b610a47d77040 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/pygac/-/commit/92f7ae6a2725c6b084ed7ac59f3b610a47d77040 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
