[New-bugs-announce] [issue22814] TestProgram loading fails when a script is used

Robert Collins report at bugs.python.org
Fri Nov 7 11:17:40 CET 2014


New submission from Robert Collins:

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

----------
components: Library (Lib)
messages: 230782
nosy: rbcollins
priority: normal
severity: normal
status: open
title: TestProgram loading fails when a script is used
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22814>
_______________________________________


More information about the New-bugs-announce mailing list