~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_trace.py

  • Committer: Max Bowsher
  • Date: 2011-08-21 18:54:00 UTC
  • mto: This revision was merged to the branch mainline in revision 6104.
  • Revision ID: _@maxb.eu-20110821185400-t9lyvk5fv70rj6k5
Delete features.meliae, because it is a false friend which checks only for the
availability of the meliae pure python code, not the compiled extensions.
Update only user to use features.meliae_feature, which does catch
unavailability of the compiled extensions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
            "bzr: out of memory\nUse -Dmem_dump to dump memory to a file.\n")
86
86
 
87
87
    def test_format_mem_dump(self):
88
 
        self.requireFeature(features.meliae)
 
88
        self.requireFeature(features.meliae_feature)
89
89
        debug.debug_flags.add('mem_dump')
90
90
        try:
91
91
            raise MemoryError()