summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-09-03 21:10:10 (GMT)
committerGuido van Rossum <guido@python.org>2002-09-03 21:10:10 (GMT)
commit472c5229c4876fad95fca103fd81d35b7dd9fc13 (patch)
tree1753c27a239b086ef60006a419a919e76043e749 /Lib/test
parentd4c472c3e21c0823c2c1bdf115e262846e2ba843 (diff)
downloadcpython-472c5229c4876fad95fca103fd81d35b7dd9fc13.zip
cpython-472c5229c4876fad95fca103fd81d35b7dd9fc13.tar.gz
cpython-472c5229c4876fad95fca103fd81d35b7dd9fc13.tar.bz2
Delete the %c test from test_date_time() untill Brett Cannon has time
to fix it. (It fails when the day of the month is a 1-digit number, because %c produces space+digit there, while strptime seems to expect zero+digit somehow.)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_strptime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py
index 94a003d..4fab085 100644
--- a/Lib/test/test_strptime.py
+++ b/Lib/test/test_strptime.py
@@ -55,8 +55,8 @@ class LocaleTime_Tests(unittest.TestCase):
def test_date_time(self):
# Check that LC_date_time, LC_date, and LC_time are correct
- strftime_output = time.strftime("%c", self.time_tuple)
- self.failUnless(strftime_output == time.strftime(self.LT_ins.LC_date_time, self.time_tuple), "LC_date_time incorrect")
+## strftime_output = time.strftime("%c", self.time_tuple)
+## self.failUnless(strftime_output == time.strftime(self.LT_ins.LC_date_time, self.time_tuple), "LC_date_time incorrect")
strftime_output = time.strftime("%x", self.time_tuple)
self.failUnless(strftime_output == time.strftime(self.LT_ins.LC_date, self.time_tuple), "LC_date incorrect")
strftime_output = time.strftime("%X", self.time_tuple)