[pyosmium] 01/03: Add patch to fix test_location_tuple failure.

Bas Couwenberg sebastic at debian.org
Mon Jul 4 22:03:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pyosmium.

commit e47e681d3f5790efb464b78d2e98d57d6cc072bb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jul 4 22:56:22 2016 +0200

    Add patch to fix test_location_tuple failure.
---
 debian/changelog                         |  7 +++++++
 debian/patches/series                    |  1 +
 debian/patches/test_location_tuple.patch | 16 ++++++++++++++++
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 03dcc84..86248d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyosmium (2.7.1-3) UNRELEASED; urgency=medium
+
+  * Add patch to fix test_location_tuple failure.
+    (closes: #828979)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 04 Jul 2016 22:53:06 +0200
+
 pyosmium (2.7.1-2) unstable; urgency=medium
 
   * Add patch to fix test failure on 32-bit architectures.
diff --git a/debian/patches/series b/debian/patches/series
index 04b71e3..d7ebf7a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 std_pair_to_python_converter.patch
+test_location_tuple.patch
diff --git a/debian/patches/test_location_tuple.patch b/debian/patches/test_location_tuple.patch
new file mode 100644
index 0000000..0125ba8
--- /dev/null
+++ b/debian/patches/test_location_tuple.patch
@@ -0,0 +1,16 @@
+Description: Fix expected output for test_location_tuple.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/828979
+Bug: https://github.com/osmcode/pyosmium/issues/15
+
+--- a/test/test_writer.py
++++ b/test/test_writer.py
+@@ -108,7 +108,7 @@ class TestWriteTags(unittest.TestCase):
+ class TestWriteNode(unittest.TestCase):
+ 
+     def test_location_tuple(self):
+-        with WriteExpect('n0 v0 dV c0 t i0 u T x1.0000000 y2.0000000') as w:
++        with WriteExpect('n0 v0 dV c0 t i0 u T x1 y2') as w:
+             w.add_node(O(location=(1, 2)))
+ 
+     def test_location_none(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyosmium.git



More information about the Pkg-grass-devel mailing list