diff options
| -rw-r--r-- | Library/Formula/python.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 653a27313..e4fa7f00d 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -170,6 +170,11 @@ class Python < Formula def scripts_folder HOMEBREW_PREFIX+"share/python" end + + def test + # See: https://github.com/mxcl/homebrew/pull/10487 + system "#{bin}/python -c 'from decimal import Decimal; print Decimal(4) / Decimal(2)'" + end end __END__ |
