MCPcopy Create free account
hub / github.com/mne-tools/mne-python / getvalue

Method getvalue

mne/utils/_logging.py:303–308  ·  view source on GitHub ↗

Get the value.

(self, close=True)

Source from the content-addressed store, hash-verified

301 """StringIO that closes after getvalue()."""
302
303 def getvalue(self, close=True):
304 """Get the value."""
305 out = super().getvalue()
306 if close:
307 self.close()
308 return out
309
310
311class catch_logging:

Callers 15

wrapped_stdoutFunction · 0.95
test_sys_info_basicFunction · 0.95
test_sys_info_completeFunction · 0.95
test_sys_info_qt_browserFunction · 0.95
generate_commands_rstFunction · 0.80
object_diffFunction · 0.80
test_progressbarFunction · 0.80
test_run_subprocessFunction · 0.80

Calls 1

closeMethod · 0.45

Tested by 15

test_sys_info_basicFunction · 0.76
test_sys_info_completeFunction · 0.76
test_sys_info_qt_browserFunction · 0.76
test_progressbarFunction · 0.64
test_run_subprocessFunction · 0.64
test_check_info_invFunction · 0.64
test_logging_optionsFunction · 0.64