def __enter__(self):
        try:
            from StringIO import StringIO
        except __HOLE__:
            from io import StringIO
        self.old_stderr = sys.stderr
        sys.stderr = f = StringIO()
        return f
dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/support.py/StdErrCapture.__enter__