[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2016-07-21 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2016-06-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: > 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

[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2016-06-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for the review Pamela, indeed self.vfs is not defined. The patched test_unittest runs without failure because the list_dir() nested function is never called. It is also never called in the un-patched version. Actually the un-patched test_discover_start

[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2016-06-19 Thread Pam McA'Nulty
Changes by Pam McA'Nulty : -- nosy: +Pam.McANulty ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2016-05-07 Thread ppperry
Changes by ppperry : -- title: unittest fails with "Start directory is not importable" -> unittest fails with "Start directory is not importable" when trying to run sourceless tests ___ Python tracker ___