MCPcopy Index your code
hub / github.com/python/cpython / expect_closed_error

Method expect_closed_error

Lib/test/test__interpchannels.py:1455–1460  ·  view source on GitHub ↗
(self, end=None)

Source from the content-addressed store, hash-verified

1453 return interp
1454
1455 def expect_closed_error(self, end=None):
1456 if end is None:
1457 end = self.end
1458 if end == 'recv' and self.state.closed == 'send':
1459 return False
1460 return bool(self.state.closed)
1461
1462 def prep_interpreter(self, interp):
1463 self._prep_interpreter(interp)

Callers 1

_closeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected