aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index d092ef8ac..18dde436e 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -174,6 +174,6 @@ class Python < Formula
def test
# See: https://github.com/mxcl/homebrew/pull/10487
- system "#{bin}/python -c 'from decimal import Decimal; print Decimal(4) / Decimal(2)'"
+ `#{bin}/python -c 'from decimal import Decimal; print Decimal(4) / Decimal(2)'`.chomp == '2'
end
end