/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_non_ascii.py

  • Committer: Andrew Bennetts
  • Date: 2010-01-06 05:06:56 UTC
  • mto: This revision was merged to the branch mainline in revision 4937.
  • Revision ID: andrew.bennetts@canonical.com-20100106050656-zrx877eyg3aevh9w
Prefer setattr builtin to __setattr__ method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        super(TestNonAscii, self).setUp()
41
41
        self._check_can_encode_paths()
42
42
 
43
 
        self.addCleanup(osutils.__setattr__, "_cached_user_encoding",
 
43
        self.addCleanup(setattr, osutils, "_cached_user_encoding",
44
44
            osutils._cached_user_encoding)
45
45
        osutils._cached_user_encoding = self.encoding
46
46
        email = self.info['committer'] + ' <joe@foo.com>'