Skip to content

Commit f94de8e

Browse files
committed
Disregard exception detail in doctest (2.7 compatibility).
1 parent 14b9ed3 commit f94de8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

couchdb/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def urljoin(base, *path, **query):
487487
>>> urljoin('http://example.org/', 'foo', '/bar/')
488488
'http://example.org/foo/%2Fbar%2F'
489489
490-
>>> urljoin('http://example.org/', None)
490+
>>> urljoin('http://example.org/', None) #doctest:+IGNORE_EXCEPTION_DETAIL
491491
Traceback (most recent call last):
492492
...
493493
TypeError: argument 2 to map() must support iteration

0 commit comments

Comments
 (0)