summaryrefslogtreecommitdiff
path: root/tests/test_util/test_datetimeutil.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2006-01-08 22:04:13 +0000
committercce <devnull@localhost>2006-01-08 22:04:13 +0000
commit89dd6eb924435fa4aed9619cb90923238ba6a11b (patch)
tree6517eb4940f189c7f727d4a53db408d958a99ba6 /tests/test_util/test_datetimeutil.py
parenteda1b81b87ea3ba919a4804e02535d9aee4aea66 (diff)
downloadpaste-89dd6eb924435fa4aed9619cb90923238ba6a11b.tar.gz
- making timedate parser throw more exceptions on errors
- cleaning up unnecessary code (that is duplicated in datetime built-in)
Diffstat (limited to 'tests/test_util/test_datetimeutil.py')
-rw-r--r--tests/test_util/test_datetimeutil.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_util/test_datetimeutil.py b/tests/test_util/test_datetimeutil.py
index 373628e..ff7da49 100644
--- a/tests/test_util/test_datetimeutil.py
+++ b/tests/test_util/test_datetimeutil.py
@@ -42,7 +42,6 @@ def test_time():
assert("12:00 PM" == normalize_time("0", ampm=True))
assert("12:00 AM" == normalize_time("1200 AM", ampm=True))
-
def test_date():
tm = time.localtime()
yr = tm[0]