diff options
author | Luke Murphy <lukewm@riseup.net> | 2016-11-30 12:17:51 +0100 |
---|---|---|
committer | Luke Murphy <lukewm@riseup.net> | 2016-11-30 17:05:42 +0100 |
commit | f5afd8cb541549aaf595dbd7ea730becf23e3ee3 (patch) | |
tree | 02846bfcda3a3f5a9757041b95078c1003fc8402 /_pytest/compat.py | |
parent | 36eb5b36d1c4b29ac217b1faddef16336843b3a5 (diff) | |
download | pytest-f5afd8cb541549aaf595dbd7ea730becf23e3ee3.tar.gz |
Add missing `__test__` check for test discovery.
Diffstat (limited to '_pytest/compat.py')
-rw-r--r-- | _pytest/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/compat.py b/_pytest/compat.py index d5fa7aa84..6bed9e92a 100644 --- a/_pytest/compat.py +++ b/_pytest/compat.py @@ -200,7 +200,7 @@ def safe_getattr(object, name, default): """ Like getattr but return default upon any Exception. Attribute access can potentially fail for 'evil' Python objects. - See issue214 + See issue #214. """ try: return getattr(object, name, default) |