======================================================================
FAIL: bzrlib.tests.test_trace.TestTrace.test_format_memory_error
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
1966.897 Traceback (most recent call last):
File "/home/pqm/bzr-pqm-workdir/home/+trunk/bzrlib/tests/test_trace.py", line 79, in test_format_memory_error
raise MemoryError()
MemoryError
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/testtools/runtest.py", line 128, in _run_user
return fn(*args)
File "/usr/lib/python2.4/site-packages/testtools/testcase.py", line 368, in _run_test_method
testMethod()
File "/home/pqm/bzr-pqm-workdir/home/+trunk/bzrlib/tests/test_trace.py", line 84, in test_format_memory_error
"bzr: out of memory\n")
AssertionError: not equal:
a = 'bzr: out of memory\nUse -Dmem_dump to dump memory to a file.\n'
b = 'bzr: out of memory\n'
------------
That's nice because we can check it is actually being printed.
This actually causes one correct test failure:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ trace.TestTrace .test_format_ memory_ error ------- ------- ------- ------- ------- ------- ------- ------- ------- pqm/bzr- pqm-workdir/ home/+trunk/ bzrlib/ tests/test_ trace.py" , line 79, in test_format_ memory_ error
FAIL: bzrlib.
-------
_StringException: Text attachment: log
------------
1966.897 Traceback (most recent call last):
File "/home/
raise MemoryError()
MemoryError
------------ python2. 4/site- packages/ testtools/ runtest. py", line 128, in _run_user python2. 4/site- packages/ testtools/ testcase. py", line 368, in _run_test_method pqm/bzr- pqm-workdir/ home/+trunk/ bzrlib/ tests/test_ trace.py" , line 84, in test_format_ memory_ error
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args)
File "/usr/lib/
testMethod()
File "/home/
"bzr: out of memory\n")
AssertionError: not equal:
a = 'bzr: out of memory\nUse -Dmem_dump to dump memory to a file.\n'
b = 'bzr: out of memory\n'
------------
That's nice because we can check it is actually being printed.