Tal Einat <talei...@gmail.com> added the comment:
Attaching coverage report for tooltip.py. The uncovered lines are required to avoid exceptions when closing a windows with a tooltip shown. These are not currently reproduced by test_tooltip.py because my attempts to exercise them in automated tests have all failed so far. The TclError exceptions are reproduced by the htest in tooltip.py. The ValueError exception, however, I've only seen happen when actually running IDLE, since it is raised by the MultiCall module. IMO it's not worth the effort to achieve 100% automated test coverage here. It's Terry's decision to make, though. ---------- Added file: https://bugs.python.org/file47641/Coverage for Lib_idlelib_tooltip.py.png _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com