Fudge - http.client doesn't exist in 2.7. Use Queue.Empty instead.
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index c9de188..a58c4ae 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -1024,10 +1024,10 @@
>>> def f(x):
... r'''
- ... >>> from http.client import HTTPException
- ... >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL
+ ... >>> from Queue import Empty
+ ... >>> raise Empty() #doctest: +IGNORE_EXCEPTION_DETAIL
... Traceback (most recent call last):
- ... foo.bar.HTTPException
+ ... foo.bar.Empty
... '''
>>> test = doctest.DocTestFinder().find(f)[0]
>>> doctest.DocTestRunner(verbose=False).run(test)
@@ -1037,10 +1037,10 @@
>>> def f(x):
... r'''
- ... >>> from http.client import HTTPException
- ... >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL
+ ... >>> from Queue import Empty
+ ... >>> raise Empty() #doctest: +IGNORE_EXCEPTION_DETAIL
... Traceback (most recent call last):
- ... foo.bar.HTTPException:
+ ... foo.bar.Empty:
... '''
>>> test = doctest.DocTestFinder().find(f)[0]
>>> doctest.DocTestRunner(verbose=False).run(test)