[python-geopandas] 02/05: Add patch to increase tolerance to fix plotting test failure.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Nov 20 19:21:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-geopandas.
commit f87e019d9653667b9114c63828d91dcf1a8ca50e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Nov 20 19:50:44 2015 +0100
Add patch to increase tolerance to fix plotting test failure.
---
debian/changelog | 2 ++
debian/patches/0002-Fix-plotting-tests.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 78be6e0..cd8efdd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ python-geopandas (0.1.1-2) UNRELEASED; urgency=medium
* Team upload.
* Fix Vcs-* URLs, rename repo from geopandas to python-geopandas.
+ * Add patch to increase tolerance to fix plotting test failure.
+ (closes: #792589)
-- Bas Couwenberg <sebastic at debian.org> Tue, 04 Aug 2015 14:19:49 +0200
diff --git a/debian/patches/0002-Fix-plotting-tests.patch b/debian/patches/0002-Fix-plotting-tests.patch
new file mode 100644
index 0000000..dcab114
--- /dev/null
+++ b/debian/patches/0002-Fix-plotting-tests.patch
@@ -0,0 +1,16 @@
+Description: Increase tolerance to fix test failures.
+Author: Matthew Perry <perrygeo at gmail.com>
+Origin: https://github.com/geopandas/geopandas/commit/c4d9aa15f00247a4ec10d118267a16243ff5bfe8#diff-682fec388a6b6bf28d626072e6357aa0
+Bug-Debian: https://bugs.debian.org/792589
+
+--- a/tests/test_plotting.py
++++ b/tests/test_plotting.py
+@@ -32,7 +32,7 @@ class PlotTests(unittest.TestCase):
+ shutil.rmtree(self.tempdir)
+ return
+
+- def _compare_images(self, ax, filename, tol=8):
++ def _compare_images(self, ax, filename, tol=10):
+ """ Helper method to do the comparisons """
+ assert isinstance(ax, Artist)
+ if GENERATE_BASELINE:
diff --git a/debian/patches/series b/debian/patches/series
index afe4e4f..6593252 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Fix-tests.patch
+0002-Fix-plotting-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-geopandas.git
More information about the Pkg-grass-devel
mailing list