8000 Update Logging to 3.12.7 by arihant2math · Pull Request #5478 · RustPython/RustPython · GitHub
[go: up one dir, main page]

Skip to content

Update Logging to 3.12.7 #5478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 17, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix expected failures on test_smtplib.py
  • Loading branch information
arihant2math committed Jan 16, 2025
commit 493b21778f950bd485b4590984116c7eee85a7f6
8 changes: 8 additions & 0 deletions Lib/test/test_smtplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1170,6 +1170,8 @@ def auth_buggy(challenge=None):
finally:
smtp.close()

# TODO: RUSTPYTHON
@unittest.expectedFailure
@hashlib_helper.requires_hashdigest('md5', openssl=True)
def testAUTH_CRAM_MD5(self):
self.serv.add_feature("AUTH CRAM-MD5")
Expand All @@ -1179,6 +1181,8 @@ def testAUTH_CRAM_MD5(self):
self.assertEqual(resp, (235, b'Authentication Succeeded'))
smtp.close()

# TODO: RUSTPYTHON
@unittest.expectedFailure
@hashlib_helper.requires_hashdigest('md5', openssl=True)
def testAUTH_multiple(self):
# Test that multiple authentication methods are tried.
Expand All @@ -1189,6 +1193,8 @@ def testAUTH_multiple(self):
self.assertEqual(resp, (235, b'Authentication Succeeded'))
smtp.close()

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_auth_function(self):
supported = {'PLAIN', 'LOGIN'}
try:
Expand Down Expand Up @@ -1453,6 +1459,8 @@ def test_send_unicode_with_SMTPUTF8_via_low_level_API(self):
self.assertIn('SMTPUTF8', self.serv.last_mail_options)
self.assertEqual(self.serv.last_rcpt_options, [])

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_send_message_uses_smtputf8_if_addrs_non_ascii(self):
msg = EmailMessage()
msg['From'] = "Páolo <főo@bar.com>"
Expand Down
0