summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-06 05:10:09 +0200
committerÉric Araujo <merwok@netwok.org>2011-10-06 05:10:09 +0200
commit9556a5bab277eff83b40236c58c3fb7d0233dc47 (patch)
tree022fbc0af88074df6ce6e8268b84eb29af7e61f7 /Python/Python-ast.c
parent2c30e3999cb2a1c46d19d903b055cf4267a27f80 (diff)
downloadcpython-git-9556a5bab277eff83b40236c58c3fb7d0233dc47.tar.gz
Fix incorrect test.
The packaging.install.remove function (a.k.a. the uninstall feature) takes a path argument to allow client code to use custom directories instead of sys.path. The test used to give self.root_dir as path, which corresponds to a prefix option, but prefix is not on sys.path, it’s only the base directory used to compute the stdlib and site-packages directory paths. The test now gives a valid site-packages path to the function.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions