nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

TypeError issue #1026

Open longquanzheng opened 7 years ago

longquanzheng commented 7 years ago

Hey guys, I occasionally run into this issue:

ERROR: Failure: TypeError (Required argument 'name' (pos 1) not found)

Traceback (most recent call last): File "~/packages/Nose/Nose-1.x.x.5208.9201/RHEL5_64/DEV.STD.PTHREAD/build/lib/python2.7/site-packages/nose/loader.py", line 525, in makeTest return self._makeTest(obj, parent) File "~/packages/Nose/Nose-1.x.x.5208.9201/RHEL5_64/DEV.STD.PTHREAD/build/lib/python2.7/site-packages/nose/loader.py", line 584, in _makeTest return MethodTestCase(obj) File "~/packages/Nose/Nose-1.x.x.5208.9201/RHEL5_64/DEV.STD.PTHREAD/build/lib/python2.7/site-packages/nose/case.py", line 345, in init self.inst = self.cls() TypeError: Required argument 'name' (pos 1) not found


Any idea what is going on?
warut-vijit commented 7 years ago

Before someone makes a PR, could you post a sample of some code that you saw cause this error. That would be helpful for determining whether the error is on your end or on nose's end.