aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2013-08-08 11:57:51 +0200
committerSamuel John2013-08-08 11:57:51 +0200
commit81468054e0eed35fb7d11da6ed79d2630b1641b1 (patch)
tree96ac0edde453908d7fb58600f5e50f9928bef84a /Library
parent5bb82e30713683a81955435f02724dad6c20663a (diff)
downloadbrew-81468054e0eed35fb7d11da6ed79d2630b1641b1.tar.bz2
Don't hard-code PYTHONPATH for `brew test`
This rules out any possibility to test Python 3.x software as the PYTHONPATH is used by any Python and `brew test pyqt --with-python3` fails because it picks up the `pyqt` module fomr Python 2.x's site-packages. Upstream tells us not to set the PYTHONPATH and then starting another (major) python version.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index ed0565456..e44a4cfb0 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -508,8 +508,6 @@ 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