def clear_err_state(self):
        e = self.last_syntax_error
        self.last_syntax_error = None
        return e
Prepares the test fixture before each test method is called.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/ultratb.py/SyntaxTB.clear_err_state--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/tests/package_plugin_manager_test_case.py/PackagePluginManagerTestCase.setUp