/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-01 19:47:17 UTC
  • mfrom: (7506.1.1 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200601194717-8mco90rhp2v1dbgj
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/384927

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'