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

Method tearDown

IPython/core/tests/test_completer.py:157–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 self._assertwarns.__enter__()
156
157 def tearDown(self):
158 try:
159 self._assertwarns.__exit__(None, None, None)
160 except AssertionError:
161 pass
162
163 def test_custom_completion_error(self):
164 """Test that errors from custom attribute completers are silenced."""

Callers

nothing calls this directly

Calls 1

__exit__Method · 0.45

Tested by

no test coverage detected