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

  • Committer: Andrew Bennetts
  • Date: 2009-03-17 03:02:33 UTC
  • mto: This revision was merged to the branch mainline in revision 4155.
  • Revision ID: andrew.bennetts@canonical.com-20090317030233-u30v9qyztu11cjh5
Add missing TestCase.setUp upcalls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    """Test the auto-detection of proper terminal encoding."""
75
75
 
76
76
    def setUp(self):
 
77
        TestCase.setUp(self)
77
78
        self._stdout = sys.stdout
78
79
        self._stderr = sys.stderr
79
80
        self._stdin = sys.stdin
156
157
    """Test detection of default user encoding."""
157
158
 
158
159
    def setUp(self):
 
160
        TestCase.setUp(self)
159
161
        self._stderr = sys.stderr
160
162
        self._getpreferredencoding = locale.getpreferredencoding
161
163
        self.addCleanup(self._reset)