Frazer McLean added the comment: I may not have been clear—I understand how context managers work with exceptions.
I'm just pointing out that the nested context manager isn't called, so those final two lines aren't testing anything, right? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25322> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com