Only consider actual functions when considering hooks

Fix #3775
This commit is contained in:
Bruno Oliveira
2018-08-04 16:35:24 -03:00
parent a76cc8f8c4
commit 2c0d2eef40
5 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
class pytest_something(object):
pass

View File

@@ -0,0 +1,2 @@
def test_foo():
pass