-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
@nose.tools.istest not respected #562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
teaching the nose plugin to consider functions with the test markers should be a matter of a few lines |
ok, will have a go at a fix |
@RonnyPfannschmidt have a look at my PR #921 In particular, are you still thinking this could have been done in the nose plugin rather than core python.py? |
Issue #562 - Ensure @nose.tools.istest is respected
This issue was resolved by the merge of #921 Its a pull in from bitbucket so it's owned by @pytestbot not me. Please close. |
thanks for the note :) |
Originally reported by: Tom V (BitBucket: tomviner, GitHub: tomviner)
Given the Supported nose Idioms page says pytest supports:
__test__
attribute on modules/classes/functions I assumed the following test would be collected:Full script with the final test showing that the attribute
__test__
is successfully set on thetoast_stuff
functionAm I misunderstanding the docs, and test must also meet the usual name prefix criteria? But I can confirm that nose does find the
toast_stuff
test:The text was updated successfully, but these errors were encountered: