TST: Some nose generator tests not running · Issue #14244 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@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.