Index: Lib/test/regrtest.py =================================================================== --- Lib/test/regrtest.py (révision 80497) +++ Lib/test/regrtest.py (copie de travail) @@ -130,6 +130,9 @@ import time import traceback import warnings +# keep a reference to the ascii module to workaround #7140 bug +# (see issue #7027) +import encodings.ascii # I see no other way to suppress these warnings; # putting them in test_grammar.py has no effect: