gh-92886: Fix test that fails when running with `-O` in `test_imaplib… · python/cpython@7b3cf3a

GitHub

Original file line numberDiff line numberDiff line change@@ -936,6 +936,7 @@ def test_with_statement_logout(self):

936936937937@threading_helper.reap_threads

938938@cpython_only

[email protected](__debug__, "Won't work if __debug__ is False")

939940deftest_dump_ur(self):

940941# See: http://bugs.python.org/issue26543

941942untagged_resp_dict= {'READ-WRITE': [b'']}