Esempio n. 1
0
 def __init__(self, library_import=False):
     if library_import:
         LOGGER.enable_library_import_logging()
     self._library_import = library_import
     self._python_out = _PythonCapturer(stdout=True)
     self._python_err = _PythonCapturer(stdout=False)
     self._java_out = _JavaCapturer(stdout=True)
     self._java_err = _JavaCapturer(stdout=False)
Esempio n. 2
0
 def __enter__(self):
     if self._library_import:
         LOGGER.enable_library_import_logging()
     return self
Esempio n. 3
0
 def __enter__(self):
     if self._library_import:
         LOGGER.enable_library_import_logging()
     return self