mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
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.
This commit is contained in:
parent
4539d68e3b
commit
e9f8ffd882
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue