Show Idle-format warning (after replacing warnings.showwarning). The differences are the formatter called, the file=None replacement, which can be None, the capture of the consequence AttributeError, and the output of a hard-coded prompt.
(
message, category, filename, lineno, file=None, line=None)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected