git: Drop doctest
authorGuido Günther <agx@sigxcpu.org>
Tue, 30 Jun 2020 08:14:41 +0000 (10:14 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 30 Jun 2020 08:14:41 +0000 (10:14 +0200)
dateutil changed the exception.

gbp/git/__init__.py

index 2022870fb22ad12d27e6c7d70028b2a71d1db987..3d0bb0b9f3a289bd46f0377abd28045a58d76061 100644 (file)
@@ -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'
     """