Skip to content

TST: Some nose generator tests not running #14244

Closed
@TomAugspurger

Description

@TomAugspurger

e.g. pandas/computation/tests/test_eval.py:TestTypeCasting

nosetests pandas/computation/tests/test_eval.py:TestTypeCasting -vs -x --with-id
#431 test_binop_typecasting (pandas.computation.tests.test_eval.TestTypeCasting) ... ok

The obvious difference is that TestTypeCasting inherits from tm.TestCase. I thought nose was supposed to run these still, but apparently not.
EDIT: OK, nose doesn't support those:

Test classes that do not descend from unittest.TestCase may also include generator methods and class-level fixtures

This came up as part of verifying that #13856 isn't dropping any tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions