1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 25 Jun 2018 08:54:11 +0200
Description: Relax test constraint which is rather a rounding issue
Traceback (most recent call last):
File "/build/python-pbcore-1.4.2+dfsg/tests/test_pbdataset.py", line 2125, in test_stats_metadata
2322.16060475)
AssertionError: 2322.1606047549185 != 2322.16060475
--- a/tests/test_pbdataset.py
+++ b/tests/test_pbdataset.py
@@ -2158,7 +2158,7 @@ class TestDataSet(unittest.TestCase):
2322.805559802698)
self.assertEqual(ds2.metadata.summaryStats.readLenDist.sampleStd,
2322.805559802698)
- self.assertEqual(ds3.metadata.summaryStats.readLenDist.sampleStd,
+ self.assertAlmostEqual(ds3.metadata.summaryStats.readLenDist.sampleStd,
2322.16060475)
# uses the bins, not the previous values for mean, std, etc.:
self.assertEqual(ds3.metadata.summaryStats.readLenDist.sampleMed, 45)
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -1,7 +1,6 @@
coverage
-nose==1.3.4
+nose >= 1.3.4
pyxb >= 1.2.4
-sphinx
h5py >= 2.0.1
pysam >= 0.13
pylint==1.6.4
|