pytest.raises(AssertionError) fails with compiled cython modules #645
Closed
Description
Originally reported by: Steffen Roecker (BitBucket: sroecker, GitHub: sroecker)
This issue seems similar to issue #176.
Running with unittest works fine, however pytest fails when the imported module assert_helper is compiled to a .so with Cython.
cython assert_helper.py
gcc -c -fPIC -I/usr/include/python2.7/ assert_helper.c
gcc -shared assert_helper.o -o assert_helper.so
platform linux2 -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4
plugins: xdist, cov, mock
Cython==0.21