upiterbarg / mpmath

Automatically exported from code.google.com/p/mpmath
Other
0 stars 0 forks source link

test_visualization axes #194

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install latest mpmath
2. import mpmath; mpmath.runtests()
3.

What is the expected output?

What do you see instead?
...

test_trig
    trig_misc_hard            ok        0.0019801 s
    trig_near_n_pi            ok        0.0045960 s
    trig_near_zero            ok        0.0008128 s
test_visualization
    axes
TEST FAILED!

Traceback (most recent call last):
  File "/home/nwagner/local/lib/python2.6/site-packages/mpmath/tests/runtests.py", line 126, in testit
    module.__dict__[f]()
  File "/home/nwagner/local/lib/python2.6/site-packages/mpmath/tests/test_visualization.py", line 12, in test_axes
    if map(int, matplotlib.__version__.split(".")) < [0,99]:
ValueError: invalid literal for int() with base 10: 'svn'
ok        0.1724949 s

finished tests in 58.82 seconds

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by nils...@googlemail.com on 16 Jun 2010 at 5:25

GoogleCodeExporter commented 9 years ago
Fixed in r1167?

Original comment by fredrik....@gmail.com on 21 Jun 2010 at 11:33

GoogleCodeExporter commented 9 years ago
test_visualization
    axes                      ok        4.3603339 s

finished tests in 70.83 seconds

It works like a charm with r1174. 

Original comment by nils...@googlemail.com on 22 Jun 2010 at 4:40

GoogleCodeExporter commented 9 years ago

Original comment by Vinzent.Steinberg@gmail.com on 24 Aug 2010 at 11:23