Issue #8048: Prevent doctests from failing when sys.displayhook has
been reassigned.
diff --git a/Misc/NEWS b/Misc/NEWS
index 5c61594..dc8b72c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -475,6 +475,9 @@
 Library
 -------
 
+- Issue #8048: Prevent doctests from failing when sys.displayhook has
+  been reassigned.
+
 - Issue #8015: In pdb, do not crash when an empty line is entered as
   a breakpoint command.