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.

classification
Title: TestProgram loading fails when a script is used
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rbcollins
Priority: normal Keywords:

Created on 2014-11-07 10:17 by rbcollins, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg230782 - (view) Author: Robert Collins (rbcollins) * (Python committer) Date: 2014-11-07 10:17
If someone has a TestProgram script - e.g. the unit2 script in unittest2, loading a module in cwd will fail, because the PYTHONPATH doesn't include '.'. We might want to consider adding cwd to the PYTHONPATH in TestProgram.

From https://code.google.com/p/unittest-ext/issues/detail?id=18
History
Date User Action Args
2022-04-11 14:58:09adminsetgithub: 67003
2014-11-07 10:17:40rbcollinscreate