MCPcopy
hub / github.com/pallets/flask / __exit__

Method __exit__

src/flask/testing.py:255–262  ·  view source on GitHub ↗
(
        self,
        exc_type: type | None,
        exc_value: BaseException | None,
        tb: TracebackType | None,
    )

Source from the content-addressed store, hash-verified

253 return self
254
255 def __exit__(
256 self,
257 exc_type: type | None,
258 exc_value: BaseException | None,
259 tb: TracebackType | None,
260 ) -> None:
261 self.preserve_context = False
262 self._context_stack.close()
263
264
265class FlaskCliRunner(CliRunner):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected