MCPcopy Create free account
hub / github.com/ipython/ipython / reset_buffer

Method reset_buffer

IPython/testing/iptest.py:307–310  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

305 os.close(self.writefd)
306
307 def reset_buffer(self):
308 with self.buffer_lock:
309 self.buffer.truncate(0)
310 self.buffer.seek(0)
311
312 def get_buffer(self):
313 with self.buffer_lock:

Callers 1

startTestMethod · 0.80

Calls 1

seekMethod · 0.80

Tested by

no test coverage detected