diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-03 05:37:26 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-03 05:37:26 (GMT) |
commit | dde5b94875460e704099593766f4a5bc3279483d (patch) | |
tree | d0c369148bd2d2f723896839aada008ef931ff19 /Lib/email | |
parent | 17ae2ba78f96d661bdd1d8e2e8f96016c4aa4a60 (diff) | |
download | cpython-dde5b94875460e704099593766f4a5bc3279483d.zip cpython-dde5b94875460e704099593766f4a5bc3279483d.tar.gz cpython-dde5b94875460e704099593766f4a5bc3279483d.tar.bz2 |
#7092: Silence more py3k warnings. Patch by Florent Xicluna.
Diffstat (limited to 'Lib/email')
-rw-r--r-- | Lib/email/test/test_email.py | 2 | ||||
-rw-r--r-- | Lib/email/test/test_email_renamed.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index cfd8f6c..f1a218d 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -1055,7 +1055,7 @@ This is the dingus fish. sign = '-' else: sign = '+' - tzoffset = ' %s%04d' % (sign, tzsecs / 36) + tzoffset = ' %s%04d' % (sign, tzsecs // 36) container['Date'] = time.strftime( '%a, %d %b %Y %H:%M:%S', time.localtime(now)) + tzoffset diff --git a/Lib/email/test/test_email_renamed.py b/Lib/email/test/test_email_renamed.py index e5f0b13..fc8f30a 100644 --- a/Lib/email/test/test_email_renamed.py +++ b/Lib/email/test/test_email_renamed.py @@ -1053,7 +1053,7 @@ This is the dingus fish. sign = '-' else: sign = '+' - tzoffset = ' %s%04d' % (sign, tzsecs / 36) + tzoffset = ' %s%04d' % (sign, tzsecs // 36) container['Date'] = time.strftime( '%a, %d %b %Y %H:%M:%S', time.localtime(now)) + tzoffset |