diff options
| author | Mike McQuaid | 2013-07-17 18:25:04 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-07-18 09:56:55 -0700 |
| commit | 3d0f8ebe1b16f8fe92a8b2e813f06c7fe0711b53 (patch) | |
| tree | 2804468afd57ff83734d9e7cdbd374dc22db0855 /Library | |
| parent | 31caa279cb1a664c1922b25e361ee65f5eb622b9 (diff) | |
| download | homebrew-3d0f8ebe1b16f8fe92a8b2e813f06c7fe0711b53.tar.bz2 | |
Formula: temporarily set PYTHONPATH.
Needs a less hacky fix but at least this will stop failing tests.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index ec1659c94..09191fed1 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -504,6 +504,8 @@ class Formula def test require 'test/unit/assertions' extend(Test::Unit::Assertions) + # TODO: move this into PythonInstalled. + ENV['PYTHONPATH'] = PythonInstalled.new.global_site_packages ret = nil mktemp do @testpath = Pathname.pwd |
