Issue 22814: TestProgram loading fails when a script is used (original) (raw)

Issue22814

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:09 admin set github: 67003
2014-11-07 10:17:40 rbcollins create