[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems upgrading r-cran-fastcluster due to failed test in Python module



Hi,

I tried to upgrade r-cran-fastcluster[1] which also created Python
modules thanks to Gard Spreemann).  Unfortunately the unit test of the
new version fails with 

...
Test program for the 'fastcluster' package.
Copyright (c) 2011 Daniel Müllner, <http://danifold.net>
Traceback (most recent call last):
  File "setup.py", line 113, in <module>
    url = 'http://danifold.net',
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 210, in run
    self.run_tests()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 231, in run_tests
    testRunner=self._resolve_as_ep(self.test_runner),
  File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
    self.createTests()
  File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
    self.module)
  File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 42, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'vectortest'
Seed: 532936989
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir src/python returned exit code 13
debian/rules:12: recipe for target 'binary' failed


Any help would be really welcome

    Andreas.


[1] svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-fastcluster/trunk/

-- 
http://fam-tille.de


Reply to: