From e9f8ffd882aba446ee27a9c32bb1e1475512d3f7 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 3 Jul 2020 07:23:32 -0300 Subject: [PATCH] test: fix python 3.8.4 related regression in T210-raw It seems (at least in 3.8.4~rc1-1 on Debian) that set_content requires at least one line. --- test/T210-raw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/T210-raw.sh b/test/T210-raw.sh index 85e707d4..9a8b990c 100755 --- a/test/T210-raw.sh +++ b/test/T210-raw.sh @@ -40,7 +40,7 @@ for pow in range(10,21): msg['To'] = msg['From'] msg['Message-Id'] = 'size-{:07d}@notmuch-test-suite'.format(size) content = "" - msg.set_content("") + msg.set_content("\n") padding = size - len(bytes(msg)) lines = [] while padding > 0: -- 2.45.2