Michael Droettboom said

 > Are you running the tests from the source directory? That often 
results in failures that look like this.

Yes, I did that.  Some Googling found the correct way to do it:

python3.2
 >>> import matplotlib
 >>> matplotlib.test()
..K........./usr/lib/python3/dist-packages/nose/tools.py:82:
ResourceWarning: unclosed file <_io.BufferedRandom name=3>
   pass
...../usr/lib/python3.2/subprocess.py:650: ResourceWarning: unclosed file
<_io.FileIO name=6 mode='rb'>
   _cleanup()
/usr/lib/python3.2/subprocess.py:650: ResourceWarning: unclosed file
<_io.FileIO name=8 mode='rb'>
   _cleanup()

Many "."s and "K"s are output.

FAIL: matplotlib.tests.test_text.test_afm_kerning
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
     self.test(*self.arg)
   File
"/usr/local/lib/python3.2/dist-packages/matplotlib/tests/test_text.py", line
107, in test_afm_kerning
     assert afm.string_width_height('VAVAVAVAVAVA') == (7174.0, 718)
AssertionError

----------------------------------------------------------------------
Ran 1091 tests in 310.441s

FAILED (KNOWNFAIL=275, failures=1)
False


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to