selftest fails to reports errors involving unicode
Bug #563997 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Vincent Ladeuil |
Bug Description
.. and that's needed by subunit to report test failures (so the content is quite arbitrary).
Anyway, I see no good reason to *not* support it either
summary: |
- ui.note doesn't support unicode + selftest fails to reports errors involving unicode |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
Changed in bzr: | |
milestone: | none → 2.2b3 |
status: | In Progress → Fix Released |
To post a comment you must log in.
meh, s/subunit/bzr itself via testtools/ :
Traceback (most recent call last): vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ commands. py", line 907, in exception_ to_return_ code vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ commands. py", line 1111, in run_bzr vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ commands. py", line 685, in run_argv_aliases **all_cmd_ args) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ commands. py", line 700, in run .run_simple( *args, **kwargs) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ cleanup. py", line 122, in run_simple vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ cleanup. py", line 156, in _do_with_cleanups vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ builtins. py", line 3626, in run **selftest_ kwargs) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/_ _init__ .py", line 3444, in selftest decorators= result_ decorators, vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/_ _init__ .py", line 2978, in run_suite vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/_ _init__ .py", line 648, in run run(result) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/_ _init__ .py", line 3089, in run ecorator, self).run(result) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/_ _init__ .py", line 3078, in run run(result) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/TestUtil. py", line 84, in run pop().run( result) vila/lib/ python/ testtools/ testcase. py", line 361, in run RunTest( self, self.exception_ handlers) .run(result) vila/lib/ python/ testtools/ runtest. py", line 64, in run one(actual_ result) vila/lib/ python/ testtools/ runtest. py", line 78, in _run_one prepared_ result( ExtendedToOrigi nalDecorator( result) ) vila/lib/ python/ testtools/ runtest. py", line 89, in _run_prepared_ result _run_core( ) vila/lib/ python/ testtools/ runtest. py", line 106, in _run_core case._run_ test_method, self.result): vila/lib/ python/ testtools/ runtest. py", line 140, in _run_user self.case, self.result, e) vila/lib/ python/ testtools/ testcase. py", line 341, in _report_failure addFailure( self, details= self.getDetails ()) vila/lib/ python/ testtools/ testresult/ real.py" , line 406, in addFailure addFailure( test, err) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/_ _init__ .py", line 341, in addFailure report_ failure( test, err) vila/src/ bzr/experimenta l/conflict- manager/ bzrlib/ tests/_ _init__ .py", line 500, in report_failure
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = selftest(
File "/home/
result_
File "/home/
result = runner.run(suite)
File "/home/
test.
File "/home/
return super(CountingD
File "/home/
test.
File "/home/
tests.
File "/home/
return self.__
File "/home/
return self._run_
File "/home/
return self._run_
File "/home/
self.
File "/home/
self.
File "/home/
handler(
File "/home/
result.
File "/home/
return self.decorated.
File "/home/
self.
File "/home/
err[1],
File "/home/vila/src...