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 xdegaye
Recipients Pam.McANulty, Roman.Evstifeev, martin.panter, rbcollins, xdegaye
Date 2016-06-22.08:03:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466582589.28.0.977885568821.issue26859@psf.upfronthosting.co.za>
In-reply-to
Content
> the list_dir() nested function is never called
Verifying that load_tests is called is the purpose of this test. In this case should_recurse is false in _find_tests() and os.listdir() is not invoked by this method.

This new patch does not use vfs and list_dir and uses subtests to also check that TestLoader.discover() does consider that a path refers to a package directory when it contains an '__init__.pyc' file and no '__init__.py' file, and vice-versa.
History
Date User Action Args
2016-06-22 08:03:09xdegayesetrecipients: + xdegaye, rbcollins, Roman.Evstifeev, martin.panter, Pam.McANulty
2016-06-22 08:03:09xdegayesetmessageid: <1466582589.28.0.977885568821.issue26859@psf.upfronthosting.co.za>
2016-06-22 08:03:09xdegayelinkissue26859 messages
2016-06-22 08:03:09xdegayecreate