[SciPy-Dev] error in scipy 9.0b1 build, not sure what test fails (maybe stupid question)

Vincent Davis vincent@vincentdavis....
Sun Dec 12 22:08:23 CST 2010


Ok so maybe this is a stupid question but I am not sure how to know what
scipy test is failing from this error. (numpy.test('full') runs clean)

>>> scipy.test(verbose=2)
Running unit tests for scipy
NumPy version 1.5.1
NumPy is installed in
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy
SciPy version 0.9.0b1
SciPy is installed in
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy
Python version 2.7.1 (r271:86882M, Nov 30 2010, 09:39:13) [GCC 4.0.1 (Apple
Inc. build 5494)]
nose version 0.10.4
test_linkage_cophenet_tdist_Z (test_hierarchy.TestCopheneticDistance)
Tests cophenet(Z) on tdist data set. ... ok
<snip>
Need to import PIL for this test
test_imresize3 (test_pilutil.TestPILUtil) ... SKIP: Skipping test:
test_imresize3
Need to import PIL for this test
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/nosetester.py",
line 327, in test
    t = NumpyTestProgram(argv=argv, exit=False, plugins=plugins)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/core.py",
line 219, in __init__
    argv=argv, testRunner=testRunner, testLoader=testLoader)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py",
line 95, in __init__
    self.runTests()
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/noseclasses.py",
line 349, in runTests
    self.result = self.testRunner.run(self.test)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/core.py",
line 62, in run
    test(result)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 138, in __call__
    return self.run(*arg, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 168, in run
    test(orig)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 138, in __call__
    return self.run(*arg, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 168, in run
    test(orig)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 138, in __call__
    return self.run(*arg, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 168, in run
    test(orig)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 138, in __call__
    return self.run(*arg, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 168, in run
    test(orig)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 138, in __call__
    return self.run(*arg, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 168, in run
    test(orig)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 138, in __call__
    return self.run(*arg, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 158, in run
    result.addError(self, self.exc_info())
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/proxy.py",
line 112, in addError
    self.assertMyTest(test)
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/proxy.py",
line 97, in assertMyTest
    % (self.test, id(self.test), test, id(test)))
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py",
line 129, in __repr__
    unittest._strclass(self.__class__),
AttributeError: 'module' object has no attribute '_strclass'


-- 
Thanks
Vincent Davis
720-301-3003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20101212/7c4a499a/attachment.html 


More information about the SciPy-Dev mailing list