Make all classes subclass from object

This commit is contained in:
Bruno Oliveira
2018-06-03 16:10:24 -03:00
parent 98ae25c12c
commit fd2e8a6711
6 changed files with 8 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ class Interrupted(KeyboardInterrupt):
""" signals an immediate interruption. """
class DSession:
class DSession(object):
"""A py.test plugin which runs a distributed test session
At the beginning of the test session this creates a NodeManager
@@ -316,7 +316,7 @@ class DSession:
self.config.hook.pytest_runtest_logreport(report=rep)
class TerminalDistReporter:
class TerminalDistReporter(object):
def __init__(self, config):
self.config = config
self.tr = config.pluginmanager.getplugin("terminalreporter")