aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-06-30 10:14:41 +0200
committerGuido Günther <agx@sigxcpu.org>2020-06-30 10:14:41 +0200
commit4f2569d8431236d16f753d79ee3389b2e6155e76 (patch)
treeb8c10d1ee11731407ce549440c335b60fa43f4e3
parent111aa86e7d705004ab6bec2e757f15b905053bf5 (diff)
git: Drop doctest
dateutil changed the exception.
-rw-r--r--gbp/git/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gbp/git/__init__.py b/gbp/git/__init__.py
index 2022870f..3d0bb0b9 100644
--- a/gbp/git/__init__.py
+++ b/gbp/git/__init__.py
@@ -38,10 +38,6 @@ def rfc822_date_to_git(rfc822_date, fuzzy=False):
'1206000777 -0700'
>>> rfc822_date_to_git('Sat, 5 Apr 2008 17:01:32 +0200')
'1207407692 +0200'
- >>> rfc822_date_to_git('So, 26 Feb 1998 8:50:00 +0100') # doctest: +ELLIPSIS
- Traceback (most recent call last):
- ...
- ValueError:...
>>> rfc822_date_to_git('So, 26 Feb 1998 8:50:00 +0100', fuzzy=True)
'888479400 +0100'
"""