/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_debug.py

Merge from bzr.dev, resolving the worst of the semantic conflicts, but there's
still a little bit of breakage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 Canonical Ltd
 
1
# Copyright (C) 2006, 2007 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
26
26
        """With -Derror, tracebacks are shown even for user errors"""
27
27
        out, err = self.run_bzr("-Derror", "branch", "nonexistent-location",
28
28
                retcode=3)
29
 
        # error output should contain a traceback
30
 
        self.assertContainsRe(err, "    raise errors\.NotBranchError")
31
 
 
32
 
 
 
29
        # error output should contain a traceback; we used to look for code in
 
30
        # here but it may be missing if the source is not in sync with the
 
31
        # pyc file.
 
32
        self.assertContainsRe(err, "Traceback \\(most recent call last\\)")