From 02a1d6d49295b59618e315ec737c404f44d3d51b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 7 Jan 2015 19:08:00 -0500 Subject: Should have been the function, no the string reference. --- ptr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptr.py b/ptr.py index c98981b..eefb82f 100644 --- a/ptr.py +++ b/ptr.py @@ -74,7 +74,7 @@ class PyTest(orig.test): opts['allow_hosts'] = ('test', self.allow_hosts) if self.index_url: opts['index_url'] = ('test', self.index_url) - install_dir_func = getattr(dist, 'get_egg_cache_dir', _os.curdir) + install_dir_func = getattr(dist, 'get_egg_cache_dir', _os.getcwd) install_dir = install_dir_func() cmd = easy_install( dist, args=["x"], install_dir=install_dir, exclude_scripts=True, -- cgit v1.2.1