File: README.source

package info (click to toggle)
python-cogent 1.9-14
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,752 kB
  • sloc: python: 137,485; makefile: 149; sh: 64
file content (62 lines) | stat: -rw-r--r-- 2,602 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Unfortunately the development of cogent seems to have stoped and there
are a few weak points in the code of certain architectures.  I decided
to rather document these failed tests that became obvious on
autobuilders than to drop the architecture at all.  Past package
versions went without the testing at all - now we have at least some
documentation about failures.

armel:
======
  https://buildd.debian.org/status/fetch.php?pkg=python-cogent&arch=armel&ver=1.5.3-6&stamp=1450913833
  ...

======================================================================
FAIL: test__div_ (test_core.test_profile.ProfileTests)
__div__ and __truediv__: always true division b/c __future__.division
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/tests/test_core/test_profile.py", line 336, in test__div_
    self.assertRaises(ProfileError, p1.__div__, p3)
AssertionError: ProfileError not raised

======================================================================
FAIL: test_reduce_operators (test_core.test_profile.ProfileTests)
reduce: should work fine with different operators
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/tests/test_core/test_profile.py", line 278, in test_reduce_operators
    normalize_input=True,normalize_output=False)
AssertionError: ProfileError not raised

----------------------------------------------------------------------
Ran 3502 tests in 1767.832s

FAILED (failures=2)



ppc64el / mips64el / ppc64
==========================
  https://buildd.debian.org/status/fetch.php?pkg=python-cogent&arch=ppc64el&ver=1.5.3-6&stamp=1450911552
  ...

FAIL: test_makeTreeArray (test_core.test_tree.TreeNodeTests)
makeTreeArray maps nodes to the descendants in them
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/tests/test_core/test_tree.py", line 1004, in test_makeTreeArray
    array([[1,1,1,1], [1,1,1,0], [1,1,1,0],[0,0,1,0]]))
  File "/«PKGBUILDDIR»/cogent/util/unit_test.py", line 316, in failUnlessEqual
    (msg or 'Got %s, but expected %s' % (`observed`, `expected`))
AssertionError: Got array([[ 0.,  0.,  1.,  0.],
       [ 1.,  1.,  1.,  1.],
       [ 1.,  1.,  1.,  0.],
       [ 1.,  1.,  1.,  0.]]), but expected array([[1, 1, 1, 1],
       [1, 1, 1, 0],
       [1, 1, 1, 0],
       [0, 0, 1, 0]])

----------------------------------------------------------------------
Ran 3502 tests in 84.862s

FAILED (failures=1)