Source: python-cliff
Version: 2.8.0-3
Severity: serious

>From my pbuilder build log (on amd64):

...
cliff.tests.test_utils.TestTerminalWidth.test
cliff.tests.test_utils.TestTerminalWidth.test ... ok
cliff.tests.test_utils.TestTerminalWidth.test_get_terminal_size
cliff.tests.test_utils.TestTerminalWidth.test_get_terminal_size ...
skipped u'only needed for python 3.3 onwards'
cliff.tests.test_utils.TestTerminalWidth.test_ioctl
cliff.tests.test_utils.TestTerminalWidth.test_ioctl ... ok
cliff.tests.test_utils.TestTerminalWidth.test_windows
cliff.tests.test_utils.TestTerminalWidth.test_windows ... ok

======================================================================
FAIL: cliff.tests.test_app.TestInteractiveMode.test_interactive_mode_cmdloop
cliff.tests.test_app.TestInteractiveMode.test_interactive_mode_cmdloop
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
 File "cliff/tests/test_app.py", line 77, in test_interactive_mode_cmdloop
   app.run([])
 File "cliff/app.py", line 277, in run
   result = self.interact()
 File "cliff/app.py", line 316, in interact
   from .interactive import InteractiveApp
 File "cliff/interactive.py", line 20, in <module>
   import cmd2
 File "/usr/lib/python2.7/dist-packages/cmd2.py", line 333, in <module>
   except pyperclip.exceptions.PyperclipException:
AttributeError: 'module' object has no attribute 'exceptions'


======================================================================
FAIL: unittest2.loader._FailedTest.cliff.tests.test_interactive
unittest2.loader._FailedTest.cliff.tests.test_interactive
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: cliff.tests.test_interactive
Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line
456, in _find_test_path
   module = self._get_module_from_name(name)
 File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line
395, in _get_module_from_name
   __import__(name)
 File "cliff/tests/test_interactive.py", line 15, in <module>
   import cmd2
 File "/usr/lib/python2.7/dist-packages/cmd2.py", line 333, in <module>
   except pyperclip.exceptions.PyperclipException:
AttributeError: 'module' object has no attribute 'exceptions'


----------------------------------------------------------------------
Ran 151 tests in 1.026s

FAILED (failures=2, skipped=1)
debian/rules:35: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/python-cliff-2.8.0'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
-- 
Daniel Schepler

Reply via email to