/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 breezy/tests/blackbox/test_too_much.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
# UI command/aspect that is being tested.
34
34
 
35
35
 
36
 
from cStringIO import StringIO
37
36
import os
38
37
import re
39
38
import sys
324
323
            f.write('#!/bin/sh\n')
325
324
        # f.write('echo Hello from test-command')
326
325
        f.close()
327
 
        os.chmod(cmd_name, 0755)
 
326
        os.chmod(cmd_name, 0o755)
328
327
 
329
328
        # It should not find the command in the local
330
329
        # directory by default, since it is not in my path
340
339
 
341
340
 
342
341
def listdir_sorted(dir):
343
 
    L = os.listdir(dir)
344
 
    L.sort()
 
342
    L = sorted(os.listdir(dir))
345
343
    return L
346
344
 
347
345