Oops, spoke too soon -- tests fail on Python 2.7 as well:
+ /usr/bin/python setup.py test
running test
Traceback (most recent call last):
File "setup.py", line 81, in <module>
cmdclass={'test': testtools.TestCommand})
File "/usr/lib/python2.7/distutils/core.py", line 152, 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 "/builddir/build/BUILD/testtools-0.9.18/testtools/distutilscmd.py", line 62, in run
exit=False)
File "/builddir/build/BUILD/testtools-0.9.18/testtools/run.py", line 155, in __init__
self.parseArgs(argv)
File "/builddir/build/BUILD/testtools-0.9.18/testtools/run.py", line 232, in parseArgs
self.createTests()
File "/builddir/build/BUILD/testtools-0.9.18/testtools/run.py", line 241, in createTests
self.module)
File "/usr/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python2.7/unittest/loader.py", line 113, in loadTestsFromName
test = obj()
File "/builddir/build/BUILD/testtools-0.9.18/testtools/tests/__init__.py", line 9, in test_suite
from testtools.tests import (
ImportError: cannot import name matchers
Oops, spoke too soon -- tests fail on Python 2.7 as well: {'test' : testtools. TestCommand} ) python2. 7/distutils/ core.py" , line 152, in setup run_commands( ) python2. 7/distutils/ dist.py" , line 953, in run_commands run_command( cmd) python2. 7/distutils/ dist.py" , line 972, in run_command build/BUILD/ testtools- 0.9.18/ testtools/ distutilscmd. py", line 62, in run build/BUILD/ testtools- 0.9.18/ testtools/ run.py" , line 155, in __init__ parseArgs( argv) build/BUILD/ testtools- 0.9.18/ testtools/ run.py" , line 232, in parseArgs createTests( ) build/BUILD/ testtools- 0.9.18/ testtools/ run.py" , line 241, in createTests python2. 7/unittest/ loader. py", line 128, in loadTestsFromNames FromName( name, module) for name in names] python2. 7/unittest/ loader. py", line 113, in loadTestsFromName build/BUILD/ testtools- 0.9.18/ testtools/ tests/_ _init__ .py", line 9, in test_suite
+ /usr/bin/python setup.py test
running test
Traceback (most recent call last):
File "setup.py", line 81, in <module>
cmdclass=
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/builddir/
exit=False)
File "/builddir/
self.
File "/builddir/
self.
File "/builddir/
self.module)
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
test = obj()
File "/builddir/
from testtools.tests import (
ImportError: cannot import name matchers