New-style classes implemented for python 2.7 - #2147
This commit is contained in:
@@ -107,7 +107,7 @@ This would make ``pytest`` look for tests in files that match the ``check_*
|
||||
that match ``*_check``. For example, if we have::
|
||||
|
||||
# content of check_myapp.py
|
||||
class CheckMyApp:
|
||||
class CheckMyApp(object):
|
||||
def simple_check(self):
|
||||
pass
|
||||
def complex_check(self):
|
||||
|
||||
Reference in New Issue
Block a user