~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_msgeditor.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-11-11 08:45:19 UTC
  • mfrom: (4597.9.22 reports-conflict-resolved)
  • Revision ID: pqm@pqm.ubuntu.com-20101111084519-bmk1zmblp7kex41a
(vila) More feedback about the conflicts just resolved and the remaining
 ones. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
    def test__create_temp_file_with_commit_template_in_unicode_dir(self):
302
302
        self.requireFeature(tests.UnicodeFilenameFeature)
303
303
        if hasattr(self, 'info'):
304
 
            tmpdir = self.info['directory']
305
 
            os.mkdir(tmpdir)
306
 
            # Force the creation of temp file in a directory whose name
307
 
            # requires some encoding support
308
 
            msgeditor._create_temp_file_with_commit_template('infotext',
309
 
                                                             tmpdir=tmpdir)
 
304
            os.mkdir(self.info['directory'])
 
305
            os.chdir(self.info['directory'])
 
306
            msgeditor._create_temp_file_with_commit_template('infotext')
310
307
        else:
311
308
            raise TestNotApplicable('Test run elsewhere with non-ascii data.')
312
309