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

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 17:00:29 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205170029-s01xdro0hkixhq3r
Convert some octal numbers to new notations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
            f = file(name, 'wb')
152
152
            f.write('#!/bin/sh\n')
153
153
            f.close()
154
 
            os.chmod(name, 0755)
 
154
            os.chmod(name, 0o755)
155
155
            return './' + name
156
156
 
157
157
    def test_run_editor(self):
201
201
            self.overrideEnv('BZR_EDITOR', 'fed.bat')
202
202
        else:
203
203
            # [non-win32] make python script executable and set BZR_EDITOR
204
 
            os.chmod('fed.py', 0755)
 
204
            os.chmod('fed.py', 0o755)
205
205
            self.overrideEnv('BZR_EDITOR', './fed.py')
206
206
 
207
207
    def test_edit_commit_message(self):