From 7a014ecd9574afbade45e360158af60cc5a1efa3 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Thu, 18 Jul 2024 17:10:32 +0200 Subject: [PATCH] py2 --- tests/enqueue_message_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/enqueue_message_test.py b/tests/enqueue_message_test.py index c03160d..1bef40c 100644 --- a/tests/enqueue_message_test.py +++ b/tests/enqueue_message_test.py @@ -12,8 +12,8 @@ @pytest.fixture -def path_maildir(tmpdir): - return os.path.join(tmpdir, 'mailqueue') +def path_maildir(tmp_path): + return os.path.join(str(tmp_path), 'mailqueue') def test_can_create_missing_maildir_folders_before_enqueueing_message(path_maildir):