diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-01-13 09:42:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 09:42:47 (GMT) |
commit | 3ce6945f5f434806eea700eb5ff1bed6d39395e1 (patch) | |
tree | 989941e98657544c331e7267e77ad4260a0df279 /Lib/test/test_smtplib.py | |
parent | a468866a67d83a24e3a3c3a0070129773d28bbd9 (diff) | |
download | cpython-3ce6945f5f434806eea700eb5ff1bed6d39395e1.zip cpython-3ce6945f5f434806eea700eb5ff1bed6d39395e1.tar.gz cpython-3ce6945f5f434806eea700eb5ff1bed6d39395e1.tar.bz2 |
Define Py_BUILD_CORE_MODULE
Diffstat (limited to 'Lib/test/test_smtplib.py')
-rw-r--r-- | Lib/test/test_smtplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index 9761a37..1a60fef 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -1171,7 +1171,7 @@ class SMTPSimTests(unittest.TestCase): finally: smtp.close() - @hashlib_helper.requires_hashdigest('md5') + @hashlib_helper.requires_hashdigest('md5', openssl=True) def testAUTH_CRAM_MD5(self): self.serv.add_feature("AUTH CRAM-MD5") smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', @@ -1180,7 +1180,7 @@ class SMTPSimTests(unittest.TestCase): self.assertEqual(resp, (235, b'Authentication Succeeded')) smtp.close() - @hashlib_helper.requires_hashdigest('md5') + @hashlib_helper.requires_hashdigest('md5', openssl=True) def testAUTH_multiple(self): # Test that multiple authentication methods are tried. self.serv.add_feature("AUTH BOGUS PLAIN LOGIN CRAM-MD5") |