test_email.py in britney2-ubuntu fails with python3.12

Bug #2072686 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
britney
New
Undecided
Unassigned

Bug Description

smptd was deprecated (https://docs.python.org/3.10/library/smtpd.html) in python3.12 (the default in noble) and tests/mock_smtpd.py, which is used by test_email.py, imports smtpd.

So test/mock_smtpd.py should be ported to use aiosmptd.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.