bpo-43651: Fix test_logging (GH-25715)

1 file changed