diff options
| author | Jack Nagel | 2012-05-06 00:45:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-06 01:07:45 -0500 |
| commit | 01119e2762aa4d7caa5a098a7971000dbfb04be4 (patch) | |
| tree | 29536cc1ce7f3e42dabbc045d32e72c1c683abc9 /Library/Formula/python.rb | |
| parent | 0918ed5b373e34ad66232abfc0c32386acb42570 (diff) | |
| download | homebrew-01119e2762aa4d7caa5a098a7971000dbfb04be4.tar.bz2 | |
python: validate output in test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 2 |
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 |
