New issue 546: cython functions not discovered/recognized
https://bitbucket.org/hpk42/pytest/issue/546/cython-functions-not-discovered-recognized

Joren Retel:

Cython functions are currently not recognized.

The problem seems to be that inspect.isfunction() uses isinstance(obj, 
types.FunctionType) which fails for cython functions (_pytest/python.py:227).  

Attached a small example package. To reproduce, install cython and compile the 
code with:

python setup.py build_ext --inplace

the cython test 'test something' should be discoverable by opening 
test_everything.py.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to