gh-92886: Fix test that fails when running with -O in test_imaplib.py (GH-93237)

(cherry picked from commit 8150b8cf7f)

Co-authored-by: jackh-ncl <1750152+jackh-ncl@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-06-03 20:38:16 -07:00 committed by GitHub
parent 9f101c23a4
commit 1497d7fdef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -939,6 +939,7 @@ class ThreadedNetworkedTests(unittest.TestCase):
@threading_helper.reap_threads
@cpython_only
@unittest.skipUnless(__debug__, "Won't work if __debug__ is False")
def test_dump_ur(self):
# See: http://bugs.python.org/issue26543
untagged_resp_dict = {'READ-WRITE': [b'']}