Rev 3085: test__create_temp_file_with_commit_template_in_unicode_dir needs a unicode filesystem in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Dec 6 06:34:53 GMT 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 3085
revision-id:pqm at pqm.ubuntu.com-20071206063448-0fk3ky25yb3lwxi8
parent: pqm at pqm.ubuntu.com-20071205233104-ghmsse3nmhbnz0n1
parent: mbp at sourcefrog.net-20071205032637-7i5ptn1jd67196ea
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2007-12-06 06:34:48 +0000
message:
  test__create_temp_file_with_commit_template_in_unicode_dir needs a unicode filesystem
modified:
  bzrlib/tests/test_msgeditor.py test_msgeditor.py-20051202041359-920315ec6011ee51
    ------------------------------------------------------------
    revno: 3054.3.1
    revision-id:mbp at sourcefrog.net-20071205032637-7i5ptn1jd67196ea
    parent: pqm at pqm.ubuntu.com-20071130043114-bez1f7e4y16cp7rm
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: 174059-unicode-feature
    timestamp: Wed 2007-12-05 14:26:37 +1100
    message:
      test__create_temp_file_with_commit_template_in_unicode_dir needs a unicode filesystem
    modified:
      bzrlib/tests/test_msgeditor.py test_msgeditor.py-20051202041359-920315ec6011ee51
=== modified file 'bzrlib/tests/test_msgeditor.py'
--- a/bzrlib/tests/test_msgeditor.py	2007-11-20 14:15:14 +0000
+++ b/bzrlib/tests/test_msgeditor.py	2007-12-05 03:26:37 +0000
@@ -245,6 +245,8 @@
         self.assertFileEqual(expected, msgfilename)
 
     def test__create_temp_file_with_commit_template_in_unicode_dir(self):
+        from bzrlib.tests.test_diff import UnicodeFilename
+        self.requireFeature(UnicodeFilename)
         if hasattr(self, 'info'):
             os.mkdir(self.info['directory'])
             os.chdir(self.info['directory'])




More information about the bazaar-commits mailing list