(self)
| 27 | @pytest.mark.skipif(not has_ipython, reason="IPython not available") |
| 28 | class TestBase(unittest.TestCase): |
| 29 | def setUp(self): |
| 30 | from _pydev_bundle.pydev_ipython_console_011 import get_pydev_frontend |
| 31 | |
| 32 | # PyDevFrontEnd depends on singleton in IPython, so you |
| 33 | # can't make multiple versions. So we reuse self.front_end for |
| 34 | # all the tests |
| 35 | self.front_end = get_pydev_frontend(get_localhost(), 0) |
| 36 | |
| 37 | from pydev_ipython.inputhook import set_return_control_callback |
| 38 | |
| 39 | set_return_control_callback(lambda: True) |
| 40 | self.front_end.clear_buffer() |
| 41 | |
| 42 | def tearDown(self): |
| 43 | pass |
nothing calls this directly
no test coverage detected