[Python-checkins] r53817 - python/branches/release25-maint/Lib/test/test_datetime.py

martin.v.loewis python-checkins at python.org
Sun Feb 18 09:54:33 CET 2007


Author: martin.v.loewis
Date: Sun Feb 18 09:54:32 2007
New Revision: 53817

Modified:
   python/branches/release25-maint/Lib/test/test_datetime.py
Log:
Revert r53672.


Modified: python/branches/release25-maint/Lib/test/test_datetime.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_datetime.py	(original)
+++ python/branches/release25-maint/Lib/test/test_datetime.py	Sun Feb 18 09:54:32 2007
@@ -1740,11 +1740,6 @@
         self.assertEqual(t.isoformat(), "00:00:00.100000")
         self.assertEqual(t.isoformat(), str(t))
 
-    def test_1653736(self):
-        # verify it doesn't accept extra keyword arguments
-        t = self.theclass(second=1)
-        self.assertRaises(TypeError, t.isoformat, foo=3)
-
     def test_strftime(self):
         t = self.theclass(1, 2, 3, 4)
         self.assertEqual(t.strftime('%H %M %S'), "01 02 03")


More information about the Python-checkins mailing list