]> granicus.if.org Git - python/commitdiff
Removed nonstandard strftime formats (strftime is tested more
authorGuido van Rossum <guido@python.org>
Thu, 20 Feb 1997 16:23:01 +0000 (16:23 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Feb 1997 16:23:01 +0000 (16:23 +0000)
extensively in test_strftime.py anyway).

Lib/test/test_time.py

index bfc768a22a7a55bff36e955afad7b596e8bb2345..85ea6ee592744397b301e11c036bdcea7211209b 100644 (file)
@@ -13,8 +13,8 @@ if int(time.mktime(time.localtime(t))) <> int(t):
 
 time.sleep(1.2)
 tt = time.gmtime(t)
-for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'E', 'H', 'I',
-                 'j', 'm', 'M', 'n', 'N', 'o', 'p', 'S', 't',
+for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I',
+                 'j', 'm', 'M', 'p', 'S',
                  'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%'):
     format = '%' + directive
     time.strftime(format, tt)