When an object has a custom __getattr__ which always returns a non-int, we tried to get compat_co_firstlineno from it and checked it was a integer, which caused an exception if such a class is mistakenly collected. If we still mistakenly collect such a class (which is likely to be something other than a test), we now skip it with a warning (because it probably has an __init__) instead of producing an error. See #1204. |
||
---|---|---|
.. | ||
collect.py | ||
fixture.py | ||
integration.py | ||
metafunc.py | ||
raises.py |