Formula: temporarily set PYTHONPATH.
Needs a less hacky fix but at least this will stop failing tests.
This commit is contained in:
parent
810005156e
commit
e3a7260c1a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user