Skip to content

Commit

Permalink
Formula: temporarily set PYTHONPATH.
Browse files Browse the repository at this point in the history
Needs a less hacky fix but at least this will stop failing tests.
  • Loading branch information
MikeMcQuaid committed Jul 18, 2013
1 parent 31caa27 commit 3d0f8eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,8 @@ def verify_download_integrity fn
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
Expand Down

0 comments on commit 3d0f8eb

Please sign in to comment.