[New-bugs-announce] [issue19745] TEST_DATA_DIR for out-of-tree builds

Christian Heimes report at bugs.python.org
Sun Nov 24 03:40:50 CET 2013


New submission from Christian Heimes:

test.support declares a TEST_DATA_DIR directory inside the source tree of Python:

TEST_SUPPORT_DIR = os.path.dirname(os.path.abspath(__file__))
TEST_HOME_DIR = os.path.dirname(TEST_SUPPORT_DIR)
TEST_DATA_DIR = os.path.join(TEST_HOME_DIR, "data")

make distclean cleans up the very same directory, see r87481. This feature doesn't cope will with out-of-tree builds with a read-only source directory. It looks like this feature isn't used by any test module. Can I remove it?

----------
components: Tests
messages: 204166
nosy: christian.heimes
priority: low
severity: normal
stage: needs patch
status: open
title: TEST_DATA_DIR for out-of-tree builds
type: behavior
versions: Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list