Merge lp://qastaging/~vila/bzr/1116079-gzip-compat into lp://qastaging/bzr
Proposed by
Vincent Ladeuil
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6580 |
Proposed branch: | lp://qastaging/~vila/bzr/1116079-gzip-compat |
Merge into: | lp://qastaging/bzr |
Diff against target: |
268 lines (+122/-100) 3 files modified
bzrlib/tests/test_tuned_gzip.py (+6/-3) bzrlib/tuned_gzip.py (+111/-97) doc/en/release-notes/bzr-2.6.txt (+5/-0) |
To merge this branch: | bzr merge lp://qastaging/~vila/bzr/1116079-gzip-compat |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Approve | ||
Robert Collins (community) | Approve | ||
Review via email: mp+173666@code.qastaging.launchpad.net |
Commit message
Fix test failure for tuned_gzip.
Description of the change
gzip.py has changed in 2.7, AFAIU, we don't really need tuned_gzip.py
anymore but the deprecation has never been completed.
This fix does mainly two things:
- fix assertToGzip so the failing test_enormous_
ouput with 256*1024 'a large string\n' twice, i.e. 7.864.320 bytes ! I
suspect the test writer never had this test fail...
- catch up with gzip.py internal design evolution.
That's the minimal effort to get the test suite passing.
To post a comment you must log in.
Looks good to me.