Skip to content

Commit

Permalink
Mark failing tests on 3.11 as xfailing
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Oct 25, 2022
1 parent 5d0e0a0 commit 9f156f6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/test_senders/test_smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import logging
from pathlib import Path
import smtplib
import ssl
import sys
from mailbits import email2dict
from pydantic import SecretStr
import pytest
Expand Down Expand Up @@ -470,6 +472,11 @@ def test_smtp_fix_send_ssl_auth(
assert email2dict(test_email1) == msgdict


@pytest.mark.xfail(
sys.version_info[:2] >= (3, 11),
raises=ssl.SSLEOFError,
reason="https://github.com/bebleo/smtpdfix/issues/227",
)
def test_smtp_fix_send_starttls_no_auth(
smtpd: AuthController, test_email1: EmailMessage
) -> None:
Expand All @@ -491,6 +498,11 @@ def test_smtp_fix_send_starttls_no_auth(
assert email2dict(test_email1) == msgdict


@pytest.mark.xfail(
sys.version_info[:2] >= (3, 11),
raises=ssl.SSLEOFError,
reason="https://github.com/bebleo/smtpdfix/issues/227",
)
def test_smtp_fix_send_starttls_auth(
smtpd: AuthController, test_email1: EmailMessage
) -> None:
Expand Down

0 comments on commit 9f156f6

Please sign in to comment.