Message269055
> 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. |
|
Date |
User |
Action |
Args |
2016-06-22 08:03:09 | xdegaye | set | recipients:
+ xdegaye, rbcollins, Roman.Evstifeev, martin.panter, Pam.McANulty |
2016-06-22 08:03:09 | xdegaye | set | messageid: <1466582589.28.0.977885568821.issue26859@psf.upfronthosting.co.za> |
2016-06-22 08:03:09 | xdegaye | link | issue26859 messages |
2016-06-22 08:03:09 | xdegaye | create | |
|