Skip to content

Tests still require nose #7100

@TheChymera

Description

@TheChymera

even though the test suite now works with pytest, nose is needed for testing, and not just for the docs (which is what setup.py indicates):

chymera@decohost ~/src/datalad $ git rev-parse HEAD
b3ff763c8f1eff6ec6c21c837dd4c37136944fe0
chymera@decohost ~/src/datalad $ grep nose datalad/tests/utils.py
from nose import SkipTest
from nose.plugins.attrib import attr
from nose.tools import (
from nose.tools import assert_in
from nose.tools import assert_in as in_
from nose.tools import (
    from nose.ext import dtcompat
    from nose.plugins import (
    # Monkey patch nose so it does not ERROR out whenever code asks for fileno
    # of the output. See https://github.com/nose-devs/nose/issues/6
        from nose import SkipTest
    The only way would be to instruct testing framework (i.e. nose
def ignore_nose_capturing_stdout(func):
    Originally was intended as a decorator workaround for nose's behaviour
    with redirecting sys.stdout, but now we monkey patch nose now so no test
    https://code.google.com/p/python-nose/issues/detail?id=243&can=1&sort=-id&colspec=ID%20Type%20Status%20Priority%20Stars%20Milestone%20Owner%20Summary
        "@ignore_nose_capturing_stdout no longer does anything - nose should "

Metadata

Metadata

Assignees

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