projects
/
notmuch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4539d68
)
test: fix python 3.8.4 related regression in T210-raw
author
David Bremner
<david@tethera.net>
Fri, 3 Jul 2020 10:23:32 +0000
(07:23 -0300)
committer
David Bremner
<david@tethera.net>
Fri, 3 Jul 2020 10:23:32 +0000
(07:23 -0300)
It seems (at least in 3.8.4~rc1-1 on Debian) that set_content requires
at least one line.
test/T210-raw.sh
patch
|
blob
|
history
diff --git
a/test/T210-raw.sh
b/test/T210-raw.sh
index 85e707d4741c8eb441535ac6a9a1fd7b9496764a..9a8b990c1c3fb4d923b5414a65198986a5412759 100755
(executable)
--- 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: