Author eric.snow
Recipients brett.cannon, eric.snow
Date 2014-05-14.00:25:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400027129.06.0.740257439061.issue21503@psf.upfronthosting.co.za>
In-reply-to
Content
test_importlib.util provides the test_both() function that facilitates testing both the frozen and source versions of importlib.  The function helps to keep the tests more maintainable.  However, the following test modules are not using test_both():

Lib/test/test_importlib/test_abc.py
Lib/test/test_importlib/test_api.py
Lib/test/test_importlib/test_locks.py
Lib/test/test_importlib/test_spec.py
Lib/test/test_importlib/test_windows.py

Furthermore, the remaining test modules use test_both() inconsistently.  Here is a patch that makes consistent use of test_both() and formats usage in a way that helps with readability.
History
Date User Action Args
2014-05-14 00:25:29eric.snowsetrecipients: + eric.snow, brett.cannon
2014-05-14 00:25:29eric.snowsetmessageid: <1400027129.06.0.740257439061.issue21503@psf.upfronthosting.co.za>
2014-05-14 00:25:27eric.snowlinkissue21503 messages
2014-05-14 00:25:27eric.snowcreate