Hi,

I just upgraded from py.test 1.3.4 to 2.0.3, and I'm running into a new
failure related to pytest_generate_tests that I can not make sense of:

---

py.test src\nitroz\test_dbo2.py
================================================= test session starts
=================================================
platform win32 -- Python 3.2.0 -- pytest-2.0.3
collected 0 items / 1 errors

======================================================= ERRORS
========================================================
______________________________________ ERROR collecting
src/nitroz/test_dbo2.py _______________________________________
src\nitroz\test_dbo2.py:151: in pytest_generate_tests
>                           good_value=good_value) )
C:\Python32\lib\site-packages\pytest-2.0.3-py3.2.egg\_pytest\python.py:550:
in addcall
>                   pytest.fail("funcarg %r not used in this function." %
name)
E                   Failed: funcarg 'property' not used in this function.
=============================================== 1 error in 0.12 seconds
===============================================

---

What does this error message means? What 'this function' refer to?

Source of the test module can be found there: http://pastebin.com/1D2VArGt

Baptiste.
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to