@@ -61,7 +61,7 @@ def silence_logging_at_shutdown():
6161 sys .stderr .write (err )
6262
6363
64- class CaptureManager :
64+ class CaptureManager ( object ) :
6565 """
6666 Capture plugin, manages that the appropriate capture method is enabled/disabled during collection and each
6767 test phase (setup, call, teardown). After each of those points, the captured output is obtained and
@@ -271,7 +271,7 @@ def _install_capture_fixture_on_item(request, capture_class):
271271 del request .node ._capture_fixture
272272
273273
274- class CaptureFixture :
274+ class CaptureFixture ( object ) :
275275 def __init__ (self , captureclass , request ):
276276 self .captureclass = captureclass
277277 self .request = request
@@ -416,11 +416,11 @@ def readouterr(self):
416416 self .err .snap () if self .err is not None else "" )
417417
418418
419- class NoCapture :
419+ class NoCapture ( object ) :
420420 __init__ = start = done = suspend = resume = lambda * args : None
421421
422422
423- class FDCaptureBinary :
423+ class FDCaptureBinary ( object ) :
424424 """Capture IO to/from a given os-level filedescriptor.
425425
426426 snap() produces `bytes`
@@ -506,7 +506,7 @@ def snap(self):
506506 return res
507507
508508
509- class SysCapture :
509+ class SysCapture ( object ) :
510510 def __init__ (self , fd , tmpfile = None ):
511511 name = patchsysdict [fd ]
512512 self ._old = getattr (sys , name )
@@ -551,7 +551,7 @@ def snap(self):
551551 return res
552552
553553
554- class DontReadFromInput :
554+ class DontReadFromInput ( object ) :
555555 """Temporary stub class. Ideally when stdin is accessed, the
556556 capturing should be turned off, with possibly all data captured
557557 so far sent to the screen. This should be configurable, though,
0 commit comments