Index: test_argparse.py =================================================================== --- test_argparse.py (revision 83926) +++ test_argparse.py (working copy) @@ -12,6 +12,11 @@ from io import StringIO from test import support + +# if the user set the COLUMNS environment variable to something other than 80 +# then line wrapping will occur at a different column, causing many failures +os.environ["COLUMNS"] = "80" + class StdIOBuffer(StringIO): pass