Files
pytest2/_pytest
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-27 16:04:29 -03:00
2015-11-19 22:01:34 +01:00
2015-10-20 21:08:21 +11:00
2015-07-25 15:38:27 +02:00
2015-07-23 22:35:51 -03:00
2015-07-18 18:23:17 -03:00
2015-07-19 15:25:04 +02:00