SIGN IN SIGN UP

bpo-45410: regrtest replaces print_warning.orig_stderr (GH-28926)

When running Python tests with -W, runtest() now replaces
support.print_warning.orig_stderr to preserve the messages order.

Add an unit test.
V
Victor Stinner committed
676201a59f90caace606d11d4172aa74c1cd4992
Parent: 713bb19
Committed by GitHub <noreply@github.com> on 10/13/2021, 3:35:21 PM