dev-python/pyavm: remove unused patch

This commit is contained in:
Michael Mair-Keimberger (asterix)
2017-08-16 14:20:43 +02:00
committed by Michael Palimaka
parent 2f85fb3c06
commit 40d3efb87c

View File

@@ -1,15 +0,0 @@
Description: Exception: fromstring() has been removed. Now frombytes() is called instead.
Author: Josue Ortega <josueortega@debian.org.gt>
Last-Update: 2015-12-20
--- a/pyavm/tests/test_main.py
+++ b/pyavm/tests/test_main.py
@@ -46,7 +46,7 @@
@pytest.mark.parametrize('filename', XML_FILES_WCS)
def test_to_wcs_target_image(filename, tmpdir):
from PIL import Image
- image = Image.fromstring(data=b"1111", size=(2,2), mode="L")
+ image = Image.frombytes(data=b"1111", size=(2,2), mode="L")
image_file = tmpdir.join('test.png').strpath
image.save(image_file)
image.close()