1.3.11: test_cant_write_error fails

Hi! 👋

When updating to 1.3.11 I tried running the test suite using pytest. Unfortunately the test_cant_write_error fails:

=================================== FAILURES ===================================
____________________ CommandTestCase.test_cant_write_error _____________________
hyperkitty/tests/commands/test_import.py:430: in test_cant_write_error
    self.assertIn("failed to import, skipping",
E   AssertionError: 'failed to import, skipping' not found in "Importing from mbox file /tmp/hyperkitty-testing-amnfg1g_/test.mbox to list@example.com\n20010330.12115626@mis.configured.host (0/2, 0%)\nmsg2 (1/2, 50%)\n  2 emails read\n  2 email added to the database\n  2 emails are stored into the database\nComputing
thread structure\nWarming up cache\nThe full-text search index is not updated for this list. It will not be updated by the 'minutely' incremental update job. To update the index for this list, run the Django admin command with arguments 'update_index_one_list list@example.com'.\n"
=============================== warnings summary ===============================
../../../../usr/lib/python3.12/site-packages/openid/oidutil.py:105
  /usr/lib/python3.12/site-packages/openid/oidutil.py:105: DeprecationWarning: defusedxml.cElementTree is deprecated, import from defusedxml.ElementTree instead.
    ElementTree = __import__(mod_name, None, None, ['unused'])

hyperkitty/tests/models/test_email.py::EmailTestCase::test_as_message_folded_subject
hyperkitty/tests/models/test_email.py::EmailTestCase::test_as_message_specials_in_name
  /usr/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField Email.date received a naive datetime (2012-11-02 12:07:54) while time zone support is active.
    warnings.warn(

hyperkitty/tests/models/test_email.py::EmailTestCase::test_as_message_folded_subject
hyperkitty/tests/models/test_email.py::EmailTestCase::test_as_message_specials_in_name
  /usr/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField Email.archived_date received a naive datetime (2012-11-02 12:07:54) while time zone support is active.
    warnings.warn(

hyperkitty/tests/models/test_email.py::EmailTestCase::test_as_message_folded_subject
hyperkitty/tests/models/test_email.py::EmailTestCase::test_as_message_specials_in_name
  /usr/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField Thread.date_active received a naive datetime (2012-11-02 12:07:54) while time zone support is active.
    warnings.warn(

hyperkitty/tests/test_feeds.py::TestMailingListFeed::test_control_chars
  /build/hyperkitty/src/hyperkitty/hyperkitty/tests/test_feeds.py:68: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be m
ore reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
    soup = BeautifulSoup(response.content, "lxml")

hyperkitty/tests/test_feeds.py::TestMailingListFeed::test_feed
  /build/hyperkitty/src/hyperkitty/hyperkitty/tests/test_feeds.py:53: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be m
ore reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
    soup = BeautifulSoup(response.content, "lxml")

hyperkitty/tests/views/test_message.py::MessageViewsTestCase::test_message_page
  /usr/lib/python3.12/site-packages/django/conf/__init__.py:336: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
    warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED hyperkitty/tests/commands/test_import.py::CommandTestCase::test_cant_write_error - AssertionError: 'failed to import, skipping' not found in "Importing from mbox file /tmp/hyperkitty-testing-amnfg1g_/test.mbox to list@example.com\n20010330.12115626@mis.configured.host (0/2, 0%)\nmsg2 (1/2, 50%)\n  2 emails read
\n  2 email added to the database\n  2 emails are stored into the database\nComputing thread structure\nWarming up cache\nThe full-text search index is not updated for this list. It will not be updated by the 'minutely' incremental update job. To update the index for this list, run the Django admin command with argume
nts 'update_index_one_list list@example.com'.\n"
= 1 failed, 360 passed, 3 skipped, 2 xfailed, 10 warnings in 104.37s (0:01:44) =