[Python-checkins] cpython (2.7): Fixed the name of the 'email.Utils' module in tests.
alexander.belopolsky
python-checkins at python.org
Fri Jun 22 16:39:00 CEST 2012
http://hg.python.org/cpython/rev/10faad45905a
changeset: 77568:10faad45905a
branch: 2.7
parent: 77562:a283563c8cc4
user: Alexander Belopolsky <alexander.belopolsky at gmail.com>
date: Fri Jun 22 10:38:48 2012 -0400
summary:
Fixed the name of the 'email.Utils' module in tests.
files:
Lib/email/test/test_email.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py
--- a/Lib/email/test/test_email.py
+++ b/Lib/email/test/test_email.py
@@ -2263,9 +2263,9 @@
eq(int(time.strftime('%Y', timetup[:9])), 2003)
def test_mktime_tz(self):
- self.assertEqual(utils.mktime_tz((1970, 1, 1, 0, 0, 0,
+ self.assertEqual(Utils.mktime_tz((1970, 1, 1, 0, 0, 0,
-1, -1, -1, 0)), 0)
- self.assertEqual(utils.mktime_tz((1970, 1, 1, 0, 0, 0,
+ self.assertEqual(Utils.mktime_tz((1970, 1, 1, 0, 0, 0,
-1, -1, -1, 1234)), -1234)
def test_parsedate_y2k(self):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list