Issue #19138: doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.

Grafted from c80083ad142d.
Fudge - http.client doesn't exist in 2.7.  Use Queue.Empty instead.