aliles added the comment: Submitted patch. Patch creates a new unit test suite with basic unit tests for InteractiveConsole. Enhances InteractiveConsole to call sys.excepthook instead of it's own handler if the user has overridden the excepthook.
The unit tests use the new unittest.mock module and ExitStack class for contextlib. ---------- keywords: +patch nosy: +ncoghlan Added file: http://bugs.python.org/file26920/issue12643.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12643> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com