[pandas] 01/01: Make sure remainings of nose tests will not fail. That's a pretty stupid patch since the tests are not using nose any more only some remaining exceptions. Hope it will work anyway.

Andreas Tille tille at debian.org
Mon Oct 16 20:09:22 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 dcc575955ba613e2b7130514ece3ef443677acc7
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 16 21:58:27 2017 +0200

    Make sure remainings of nose tests will not fail. That's a pretty stupid patch since the tests are not using nose any more only some remaining exceptions.  Hope it will work anyway.
---
 debian/changelog                                 |  9 +++++++++
 debian/patches/mark_tests_working_on_intel.patch | 20 ++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8ea2207..717cdc2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+pandas (0.20.3-5) unstable; urgency=medium
+
+  * Make sure remainings of nose tests will not fail. That's a pretty stupid
+    patch since the tests are not using nose any more only some remaining
+    exceptions.  Hope it will work anyway.
+    (Concerns bug #877419)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 16 Oct 2017 21:57:45 +0200
+
 pandas (0.20.3-4) unstable; urgency=medium
 
   * Mark those tests @pytest.mark.intel that pass only on Intel architectures
diff --git a/debian/patches/mark_tests_working_on_intel.patch b/debian/patches/mark_tests_working_on_intel.patch
index fc61690..cd88301 100644
--- a/debian/patches/mark_tests_working_on_intel.patch
+++ b/debian/patches/mark_tests_working_on_intel.patch
@@ -109,3 +109,23 @@ Bug-Debian: https://bugs.debian.org/877419
      def test_NaT_cast(self):
          result = Series([np.nan]).astype('period[D]')
          expected = Series([NaT])
+--- a/pandas/tests/io/test_stata.py
++++ b/pandas/tests/io/test_stata.py
+@@ -24,6 +24,7 @@ from pandas.core.dtypes.common import is
+ 
+ from pandas.compat import is_platform_little_endian
+ if not is_platform_little_endian():
++    import nose
+     raise nose.SkipTest("known failure of test_stata on non-little endian")
+ 
+ 
+--- a/pandas/tests/frame/test_constructors.py
++++ b/pandas/tests/frame/test_constructors.py
+@@ -1741,6 +1741,7 @@ class TestDataFrameConstructors(TestData
+     def test_from_records_sequencelike(self):
+         import platform
+         if platform.uname()[4].startswith('armv'):
++            import nose
+             raise nose.SkipTest("Fails on Debian arm boxes due to locales or whatelse")
+         df = DataFrame({'A': np.array(np.random.randn(6), dtype=np.float64),
+                         'A1': np.array(np.random.randn(6), dtype=np.float64),

-- 
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