~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_commit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-07-23 17:00:27 UTC
  • mfrom: (4555.2.3 1.18-relpath-394227)
  • Revision ID: pqm@pqm.ubuntu.com-20090723170027-0tfrsqpe3tiqnpcb
(jam) Fix bug #394227,
        prevent osutils.relpath() from going into an infinite loop.

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
        if char is None:
256
256
            raise TestSkipped('Cannot find suitable non-ascii character'
257
257
                'for user_encoding (%s)' % osutils.get_user_encoding())
 
258
        # TODO: jam 2009-07-23 This test seems to fail on Windows now. My best
 
259
        #       guess is that the change to use Unicode command lines means
 
260
        #       that we no longer pay any attention to LANG=C when decoding the
 
261
        #       commandline arguments.
258
262
        out,err = self.run_bzr_subprocess('commit -m "%s"' % char,
259
263
                                          retcode=1,
260
264
                                          env_changes={'LANG': 'C'})