This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients dstufft, eric.araujo, serhiy.storchaka
Date 2015-11-12.12:34:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447331685.01.0.00514668944728.issue25607@psf.upfronthosting.co.za>
In-reply-to
Content
test_distutils changes global logging level for distutils. This affects test_shutil.

In Python 2.7:

$ ./python -m test.regrtest test_distutils test_shutil
[1/2] test_distutils
[2/2] test_shutil
test test_shutil produced unexpected output:
**********************************************************************
zip -q -r archive2.zip dist

**********************************************************************
1 test OK.
1 test failed:
    test_shutil

Python 3 testing is more lenient, but produces unexpected output too.

The global logging level is changed in Distribution.parse_command_line() by calling log.set_verbosity().

Proposed patch restores the value of the global logging level in tests that change it.
History
Date User Action Args
2015-11-12 12:34:45serhiy.storchakasetrecipients: + serhiy.storchaka, eric.araujo, dstufft
2015-11-12 12:34:45serhiy.storchakasetmessageid: <1447331685.01.0.00514668944728.issue25607@psf.upfronthosting.co.za>
2015-11-12 12:34:44serhiy.storchakalinkissue25607 messages
2015-11-12 12:34:44serhiy.storchakacreate