Berker Peksag added the comment: You may also want to check that the method_name is "commit". A test case would nice to have.
Note that the connection context manager will still fail cases like nested context managers. See issue 16958. ---------- nosy: +berker.peksag, ghaering stage: -> patch review type: -> behavior versions: +Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27334> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com