diff options
| author | Adam Vandenberg | 2012-02-25 22:07:53 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-25 22:07:53 -0800 |
| commit | 855be1ec350c466f18e668ac76546fb55ea95d92 (patch) | |
| tree | c0822a76e95c23a7140349bef79799ed6a28e856 /Library/Formula/python.rb | |
| parent | 200c36200da7679b9bd1384dbb5ad32266d16b91 (diff) | |
| download | homebrew-855be1ec350c466f18e668ac76546fb55ea95d92.tar.bz2 | |
Python: add Decimal division test
Diffstat (limited to 'Library/Formula/python.rb')
| -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__ |
