Skip to content

Commit

Permalink
Version 0.31.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jul 7, 2019
1 parent 3bdf917 commit 211a4a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Binary `delta encoding`_ in Python 3 and C.
Based on http://www.daemonology.net/bsdiff/, with the following
differences:

- BZ2, LZMA, `heatshrink`_ or CRLE compression.
- BZ2, LZMA, `Zstandard`_, `heatshrink`_ or CRLE compression.

- Linear patch file access pattern to allow streaming and less RAM
usage.
Expand Down Expand Up @@ -227,6 +227,8 @@ Contributing

.. _heatshrink: https://github.com/atomicobject/heatshrink

.. _Zstandard: https://facebook.github.io/zstd

.. _Normal: https://detools.readthedocs.io/en/latest/#id1

.. _in-place: https://detools.readthedocs.io/en/latest/#id2
Expand Down
2 changes: 1 addition & 1 deletion detools/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.30.0'
__version__ = '0.31.0'
8 changes: 4 additions & 4 deletions tests/test_detools.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,8 @@ def test_apply_patch_foo_bad_compression(self):

self.assertEqual(
str(cm.exception),
"Expected compression none(0), lzma(1), crle(2), bz2(3) or "
"heatshrink(4), but got 15.")
"Expected compression none(0), lzma(1), crle(2), bz2(3), "
"heatshrink(4) or zstd(5), but got 15.")

def test_create_patch_foo_bad_compression(self):
fpatch = BytesIO()
Expand All @@ -581,8 +581,8 @@ def test_create_patch_foo_bad_compression(self):

self.assertEqual(
str(cm.exception),
"Expected compression bz2, crle, heatshrink, lzma or none, "
"but got bad.")
"Expected compression bz2, crle, heatshrink, lzma, none or "
"zstd, but got bad.")

def test_apply_patch_one_byte(self):
fnew = BytesIO()
Expand Down

0 comments on commit 211a4a5

Please sign in to comment.