#22751: fix test___all__ warning about modified environment in the tests.  Patch by Michael Cetrulo.