Verified Commit 3a18cae2 authored by Michael R. Crusoe's avatar Michael R. Crusoe 🏳️‍🌈
Browse files

Reduce the required precision in test_phenotype_fit.TestPhenoMicro

parent f89713d8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
python-biopython (1.75+dfsg-4) unstable; urgency=medium

  * Team upload.
  * Patch added to reduce the required precision for one part of the
    test_phenotype_fit.TestPhenoMicro test

 -- Michael R. Crusoe <michael.crusoe@gmail.com>  Tue, 17 Dec 2019 11:35:41 +0100

python-biopython (1.75+dfsg-3) unstable; urgency=medium

  * Team upload.
+13 −0
Original line number Diff line number Diff line
From: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: Reduce presision in part of Tests/test_phenotype_fit.py
--- python-biopython.orig/Tests/test_phenotype_fit.py
+++ python-biopython/Tests/test_phenotype_fit.py
@@ -56,7 +56,7 @@
         self.assertAlmostEqual(w.area, 20879.5)
         self.assertEqual(w.model, "gompertz")
         self.assertAlmostEqual(w.lag, 6.0425868725090357, places=5)
-        self.assertAlmostEqual(w.plateau, 188.51404344898586, places=5)
+        self.assertAlmostEqual(w.plateau, 188.51404344898586, places=4)
         self.assertAlmostEqual(w.slope, 48.190618284831132, places=4)
         self.assertAlmostEqual(w.v, 0.10000000000000001, places=5)
         self.assertAlmostEqual(w.y0, 45.879770069807989, places=5)
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ python_3.8_iteration_fix.patch
exclude_docstring_tests.patch
arm.patch
fix_doctests
ppc64el_precision