[med-svn] r23257 - in trunk/packages/python-cogent/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Tue Dec 6 10:36:27 UTC 2016


Author: tille
Date: 2016-12-06 10:36:26 +0000 (Tue, 06 Dec 2016)
New Revision: 23257

Modified:
   trunk/packages/python-cogent/trunk/debian/changelog
   trunk/packages/python-cogent/trunk/debian/patches/skip_weak_tests.patch
Log:
Skip another test to enable build on mips


Modified: trunk/packages/python-cogent/trunk/debian/changelog
===================================================================
--- trunk/packages/python-cogent/trunk/debian/changelog	2016-12-05 22:01:45 UTC (rev 23256)
+++ trunk/packages/python-cogent/trunk/debian/changelog	2016-12-06 10:36:26 UTC (rev 23257)
@@ -1,3 +1,9 @@
+python-cogent (1.9-8) unstable; urgency=medium
+
+  * Skip another test to enable build on mips
+
+ -- Andreas Tille <tille at debian.org>  Tue, 06 Dec 2016 08:26:08 +0100
+
 python-cogent (1.9-7) unstable; urgency=medium
 
   * Skip more tests to enable build on mips & mips64el

Modified: trunk/packages/python-cogent/trunk/debian/patches/skip_weak_tests.patch
===================================================================
--- trunk/packages/python-cogent/trunk/debian/patches/skip_weak_tests.patch	2016-12-05 22:01:45 UTC (rev 23256)
+++ trunk/packages/python-cogent/trunk/debian/patches/skip_weak_tests.patch	2016-12-06 10:36:26 UTC (rev 23257)
@@ -118,7 +118,7 @@
      def test_init(self):
 --- a/tests/test_cluster/test_nmds.py
 +++ b/tests/test_cluster/test_nmds.py
-@@ -43,32 +43,6 @@ class NMDSTests(TestCase):
+@@ -43,59 +43,6 @@ class NMDSTests(TestCase):
          self.assertEqual(size(pts, 0), 4)
          self.assertEqual(size(pts, 1), 2)
  
@@ -148,8 +148,35 @@
 -        nm = NMDS(distmtx, verbosity=0)
 -        self.assertLessThan(nm.getStress(), .13)
 -    
-     def test_3(self):
-         """l19 data should give stress below .13 in multi-D"""
+-    def test_3(self):
+-        """l19 data should give stress below .13 in multi-D"""
+-        ptmtx = array(
+-            [[7,1,0,0,0,0,0,0,0],
+-            [4,2,0,0,0,1,0,0,0],
+-            [2,4,0,0,0,1,0,0,0],
+-            [1,7,0,0,0,0,0,0,0],
+-            [0,8,0,0,0,0,0,0,0],
+-            [0,7,1,0,0,0,0,0,0],#idx 5
+-            [0,4,2,0,0,0,2,0,0],
+-            [0,2,4,0,0,0,1,0,0],
+-            [0,1,7,0,0,0,0,0,0],
+-            [0,0,8,0,0,0,0,0,0],
+-            [0,0,7,1,0,0,0,0,0],#idx 10
+-            [0,0,4,2,0,0,0,3,0],
+-            [0,0,2,4,0,0,0,1,0],
+-            [0,0,1,7,0,0,0,0,0],
+-            [0,0,0,8,0,0,0,0,0],
+-            [0,0,0,7,1,0,0,0,0],#idx 15
+-            [0,0,0,4,2,0,0,0,4],
+-            [0,0,0,2,4,0,0,0,1],
+-            [0,0,0,1,7,0,0,0,0]], 'float')
+-        distmtx = dist_euclidean(ptmtx)
+-        for dim in range(3,18):
+-            nm = NMDS(distmtx, verbosity=0, dimension=dim)
+-            self.assertLessThan(nm.getStress(), .13)
+-
+     def test_metaNMDS(self):
+         """l19 data should give stress below .13"""
          ptmtx = array(
 --- a/tests/test_align/test_weights/test_methods.py
 +++ b/tests/test_align/test_weights/test_methods.py




More information about the debian-med-commit mailing list