Discard previously recorded warnings from the recorder’s view. The underlying warnings list is not modified.
test.support.warnings_helper/WarningsRecorder.reset
WarningsRecorder.reset