"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mpmath/tests/runtests.py" between
mpmath-1.0.0.tar.gz and mpmath-1.1.0.tar.gz

About: mpmath is a Python library for arbitrary-precision floating-point arithmetic.

runtests.py  (mpmath-1.0.0):runtests.py  (mpmath-1.1.0)
#!/usr/bin/env python #!/usr/bin/env python
""" """
python runtests.py -py python runtests.py -py
Use py.test to run tests (more useful for debugging) Use py.test to run tests (more useful for debugging)
python runtests.py -psyco
Enable psyco to make tests run about 50% faster
python runtests.py -coverage python runtests.py -coverage
Generate test coverage report. Statistics are written to /tmp Generate test coverage report. Statistics are written to /tmp
python runtests.py -profile python runtests.py -profile
Generate profile stats (this is much slower) Generate profile stats (this is much slower)
python runtests.py -nogmpy python runtests.py -nogmpy
Run tests without using GMPY even if it exists Run tests without using GMPY even if it exists
python runtests.py -strict python runtests.py -strict
skipping to change at line 32 skipping to change at line 29
python runtests.py -local python runtests.py -local
Insert '../..' at the beginning of sys.path to use local mpmath Insert '../..' at the beginning of sys.path to use local mpmath
Additional arguments are used to filter the tests to run. Only files that have Additional arguments are used to filter the tests to run. Only files that have
one of the arguments in their name are executed. one of the arguments in their name are executed.
""" """
import sys, os, traceback import sys, os, traceback
if "-psyco" in sys.argv:
sys.argv.remove('-psyco')
import psyco
psyco.full()
profile = False profile = False
if "-profile" in sys.argv: if "-profile" in sys.argv:
sys.argv.remove('-profile') sys.argv.remove('-profile')
profile = True profile = True
coverage = False coverage = False
if "-coverage" in sys.argv: if "-coverage" in sys.argv:
sys.argv.remove('-coverage') sys.argv.remove('-coverage')
coverage = True coverage = True
 End of changes. 2 change blocks. 
8 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)