[pandas] 03/04: Exclude more tests failing on mips, armhf and powerpc

Andreas Tille tille at debian.org
Tue Oct 24 19:32:57 UTC 2017


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

tille pushed a commit to branch debian
in repository pandas.

commit 84abde9eb911d8f6758f1b2f69fcb5da5dd4056e
Author: Andreas Tille <tille at debian.org>
Date:   Tue Oct 24 21:25:54 2017 +0200

    Exclude more tests failing on mips, armhf and powerpc
---
 debian/changelog                                   |  7 ++++++
 .../mark_tests_working_on_intel_armhf.patch        | 16 ++++++++++++++
 .../patches/mark_tests_working_on_intel_mips.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  2 ++
 4 files changed, 50 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0e3a840..8db7459 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pandas (0.20.3-10) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Exclude more tests failing on mips, armhf and powerpc
+
+ -- Andreas Tille <tille at debian.org>  Tue, 24 Oct 2017 21:19:06 +0200
+
 pandas (0.20.3-9) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/mark_tests_working_on_intel_armhf.patch b/debian/patches/mark_tests_working_on_intel_armhf.patch
new file mode 100644
index 0000000..43ea690
--- /dev/null
+++ b/debian/patches/mark_tests_working_on_intel_armhf.patch
@@ -0,0 +1,16 @@
+Description: Mark those tests @pytest.mark.intel that pass only on Intel architectures
+  There was another test failing for armhf
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 24 Oct 2017 21:19:06 +0200
+Bug-Debian: https://bugs.debian.org/877419
+
+--- a/pandas/tests/io/test_pytables.py
++++ b/pandas/tests/io/test_pytables.py
+@@ -1184,6 +1184,7 @@ class TestHDFStore(Base):
+                 reloaded_panel = read_hdf(path, 'panel_with_missing')
+                 tm.assert_panel_equal(panel_with_missing, reloaded_panel)
+ 
++    @pytest.mark.intel
+     def test_append_frame_column_oriented(self):
+ 
+         with ensure_clean_store(self.path) as store:
diff --git a/debian/patches/mark_tests_working_on_intel_mips.patch b/debian/patches/mark_tests_working_on_intel_mips.patch
new file mode 100644
index 0000000..96f99b0
--- /dev/null
+++ b/debian/patches/mark_tests_working_on_intel_mips.patch
@@ -0,0 +1,25 @@
+Description: Mark those tests @pytest.mark.intel that pass only on Intel architectures
+  There was another test failing for mips and powerpc
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 24 Oct 2017 21:19:06 +0200
+Bug-Debian: https://bugs.debian.org/877419
+
+--- a/pandas/tests/io/parser/skiprows.py
++++ b/pandas/tests/io/parser/skiprows.py
+@@ -9,6 +9,8 @@ from datetime import datetime
+ 
+ import numpy as np
+ 
++import pytest
++
+ import pandas.util.testing as tm
+ 
+ from pandas import DataFrame
+@@ -200,6 +202,7 @@ line 22",2
+         df = self.read_csv(StringIO(data), skiprows=2)
+         tm.assert_frame_equal(df, expected)
+ 
++    @pytest.mark.intel
+     def test_skiprows_callable(self):
+         data = 'a\n1\n2\n3\n4\n5'
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 8794228..b0c042d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,4 +12,6 @@ up_network_seaborn
 dateutil-2.6.1-fixed-ambiguous-tz-dst-be.patch
 mark_tests_working_on_intel.patch
 mark_tests_working_on_intel_s390x.patch
+mark_tests_working_on_intel_mips.patch
+mark_tests_working_on_intel_armhf.patch
 mathjax-path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pandas.git



More information about the debian-science-commits mailing list