Files
pytest2/testing
Florian Bruhin c790f7475e Fix getting line number with nasty __getattr__.
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.
2015-11-30 16:13:15 +01:00
..
2015-09-17 23:32:27 -03:00
2015-08-08 21:08:05 +01:00
2015-04-28 11:54:53 +02:00
2015-06-17 00:04:25 -03:00