nose-devs/nose — Issue #257: Nosetest should check the arity of a test function
Author: jpellerin
Created: 2011-12-14 16:05:44+00:00
State: open

What steps will reproduce the problem?
1. Run `nosetests test_n.py`
2.
3.

What is the expected output? What do you see instead?
I expect to see a message about ignoring no_test due to bad arity.
I get:

mtebeka@duffy:n - 17:31 $ nosetests test_n.py
E.
======================================================================
ERROR: test_n.no_test
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.5/site-packages/nose-0.10.1-py2.5.egg/nose/case.py", line
203, in runTest
self.test(*self.arg)
TypeError: no_test() takes exactly 1 argument (0 given)

----------------------------------------------------------------------
Ran 2 tests in 0.002s

FAILED (errors=1)
mtebeka@duffy:n - 17:32 $

What version of the product are you using? On what operating system?
0.10.1 on Linux

Please provide any additional information below.

Google Code Info:
Issue #: 162
Author: miki.teb...@gmail.com
Created On: 2008-02-12T01:33:05.000Z
Closed On: