unittests fail on python-2.6
The test suite is failing on python-2.6 as follows:
$ python setup.py test
...
Traceback (most recent call last):
File "setup.py", line 353, in <module>
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line 145, in run
File "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line 126, in with_project_on_sys_path
File "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line 166, in run_tests
File "/usr/lib64/python2.6/unittest.py", line 815, in __init__
self.parseArgs(argv)
File "/usr/lib64/python2.6/unittest.py", line 842, in parseArgs
self.createTests()
File "/usr/lib64/python2.6/unittest.py", line 848, in createTests
self.module)
File "/usr/lib64/python2.6/unittest.py", line 612, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib64/python2.6/unittest.py", line 586, in loadTestsFromName
return self.loadTestsFromModule(obj)
File "build/bdist.linux-x86_64/egg/setuptools/command/test.py", line 40, in loadTestsFromModule
File "/usr/lib64/python2.6/unittest.py", line 583, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'segments'