~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Patch Queue Manager
  • Date: 2012-05-16 09:23:51 UTC
  • mfrom: (6523.1.1 test-fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20120516092351-juhkm3zdl63nod8b
(vila) Fix some test isolation issues when random env vars are used.
 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2398
2398
                value = self.default()
2399
2399
                if not isinstance(value, unicode):
2400
2400
                    raise AssertionError(
2401
 
                    'Callable default values should be unicode')
 
2401
                        "Callable default value for '%s' should be unicode"
 
2402
                        % (self.name))
2402
2403
            else:
2403
2404
                value = self.default
2404
2405
        return value