Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327185 - dev-python/subunit-0.0.6 version bump
Summary: dev-python/subunit-0.0.6 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: bazaar+obsolete
URL: https://launchpad.net/subunit/+announ...
Whiteboard:
Keywords:
Depends on: 327745
Blocks:
  Show dependency tree
 
Reported: 2010-07-06 18:26 UTC by LiuCougar
Modified: 2010-07-18 06:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LiuCougar 2010-07-06 18:26:29 UTC
new version of subunit is released
Comment 1 LiuCougar 2010-07-06 18:40:20 UTC
also there is a new python-subunit package (for the part of subunit written in python)
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-07 10:45:03 UTC
Arfrever, maybe you want to have a look at the failing tests...one seems to be expected, though.

======================================================================
ERROR: Test stopTest on a TestProtocolClient.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/tests/test_test_protocol.py", line 1066, in test_add_error
    self.test, subunit.RemoteError(u"phwoar crikey"))
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/__init__.py", line 568, in addError
    self._addOutcome("error", test, error=error, details=details)
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/__init__.py", line 622, in _addOutcome
    for line in self._exc_info_to_unicode(error, test).splitlines():
AttributeError: 'TestProtocolClient' object has no attribute '_exc_info_to_unicode'

======================================================================
ERROR: Test addExpectedFailure on a TestProtocolClient.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/tests/test_test_protocol.py", line 1091, in test_add_expected_failure
    self.test, subunit.RemoteError(u"phwoar crikey"))  
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/__init__.py", line 583, in addExpectedFailure
    self._addOutcome("xfail", test, error=error, details=details)
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/__init__.py", line 622, in _addOutcome
    for line in self._exc_info_to_unicode(error, test).splitlines():
AttributeError: 'TestProtocolClient' object has no attribute '_exc_info_to_unicode'

======================================================================
ERROR: Test addFailure on a TestProtocolClient.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/tests/test_test_protocol.py", line 1042, in test_add_failure
    self.test, subunit.RemoteError(u"boo qux"))
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/__init__.py", line 598, in addFailure
    self._addOutcome("failure", test, error=error, details=details)
  File "/var/tmp/portage/dev-python/subunit-0.0.6/work/subunit-0.0.6-2.6/python/subunit/__init__.py", line 622, in _addOutcome
    for line in self._exc_info_to_unicode(error, test).splitlines():
AttributeError: 'TestProtocolClient' object has no attribute '_exc_info_to_unicode'

----------------------------------------------------------------------
Ran 211 tests in 0.212s
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-10 15:13:26 UTC
Reported upstream: https://bugs.launchpad.net/gentoo/+bug/604011
Comment 4 LiuCougar 2010-07-10 21:39:28 UTC
upgrading testtools to 0.9.4 would fix the problem (the setup.py in python-subunit should be fixed to specify that)
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-11 06:16:19 UTC
(In reply to comment #4)
> upgrading testtools to 0.9.4 would fix the problem (the setup.py in
> python-subunit should be fixed to specify that)

 Definitely does, but testtools itself now fail.  Thanks for the hint.

Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-18 06:50:43 UTC
Bumped, thanks for the notice.