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

  • Committer: Jelmer Vernooij
  • Date: 2020-06-01 19:35:12 UTC
  • mfrom: (7490.29.10 work)
  • mto: This revision was merged to the branch mainline in revision 7507.
  • Revision ID: jelmer@jelmer.uk-20200601193512-yx77edrbrs12d0qy
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import errno
25
25
import os
26
26
import resource
 
27
import sys
27
28
 
28
29
from breezy import (
29
30
    osutils,
40
41
RESOURCE = resource.RLIMIT_AS
41
42
LIMIT = 1024 * 1024 * 100
42
43
 
 
44
if sys.version_info[0] == 2:
 
45
    range = xrange
 
46
 
43
47
 
44
48
def make_big_file(path):
45
49
    blob_1mb = BIG_FILE_CHUNK_SIZE * b'\x0c'