From 3d0f8ebe1b16f8fe92a8b2e813f06c7fe0711b53 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 17 Jul 2013 18:25:04 -0700 Subject: Formula: temporarily set PYTHONPATH. Needs a less hacky fix but at least this will stop failing tests. --- Library/Homebrew/formula.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3