Skip to content
Snippets Groups Projects
Commit abd9f5ec authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

py3: use lower-cased module 'email.message' in test-import.t

parent 39e5e346
No related branches found
No related tags found
No related merge requests found
......@@ -285,8 +285,8 @@
$ rm -r b
$ cat > mkmsg.py <<EOF
> import email.Message, sys
> msg = email.Message.Message()
> import email.message, sys
> msg = email.message.Message()
> patch = open(sys.argv[1], 'rb').read()
> msg.set_payload('email commit message\n' + patch)
> msg['Subject'] = 'email patch'
......@@ -383,8 +383,8 @@
The '---' tests the gitsendmail handling without proper mail headers
$ cat > mkmsg2.py <<EOF
> import email.Message, sys
> msg = email.Message.Message()
> import email.message, sys
> msg = email.message.Message()
> patch = open(sys.argv[1], 'rb').read()
> msg.set_payload('email patch\n\nnext line\n---\n' + patch)
> msg['Subject'] = '[PATCH] email patch'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment