Skip to content

test failures in suite; version -0.7.2; FAILED (failures=2) #57

Open
@idella

Description

@idella

According to issue 13 the tests might be a relatively recent addition.

I found the .travis.yml and adjusted the running to what I had and ended with the same result.
PYTHONPATH=.:cytoolz- nosetests --with-doctest cytoolz

from the source and from an ebuild.

======================================================================
FAIL: test_curried_toolzlike.test_toolz_like_cytoolz
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/mnt/gen2/TmpDir/portage/dev-python/cytoolz-0.7.2/work/cytoolz-0.7.2-python3_4/lib/cytoolz/tests/test_curried_toolzlike.py", line 35, in test_toolz_like_cytoolz
    'cytoolz.curried.%s should not exist' % key)
AssertionError: cytoolz.curried.itemfilter should not exist

======================================================================
FAIL: test_docstrings.test_docstrings_uptodate
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/mnt/gen2/TmpDir/portage/dev-python/cytoolz-0.7.2/work/cytoolz-0.7.2-python3_4/lib/cytoolz/tests/test_docstrings.py", line 72, in test_docstrings_uptodate
    key, '\n'.join(fulldiff))
AssertionError: Error: cytoolz.drop has a bad docstring:
+ drop(Py_ssize_t n, seq)
+ 
-  The sequence following the first n elements
+     The sequence following the first n elements
? +++


      >>> list(drop(2, [10, 20, 30, 40, 50]))
      [30, 40, 50]
+ 
+     See Also:
+         take
+         tail



----------------------------------------------------------------------
Ran 150 tests in 0.282s

FAILED (failures=2)

under pythons 2.7 3.3 3.4.
Do you require any further info?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions