From 2f5e24da48ee0ef0c1c1add6703f18f24a2f928f Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 25 Aug 2018 09:27:29 +1000 Subject: [PATCH] Removed warning --- src/PIL/Image.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 1f571fd3b..f04fb73c1 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -2592,13 +2592,6 @@ def frombuffer(mode, size, data, decoder_name="raw", *args): if decoder_name == "raw": if args == (): - warnings.warn( - "the frombuffer defaults will change in Pillow 7.0.0; " - "for portability, change the call to read:\n" - " frombuffer(mode, size, data, 'raw', mode, 0, 1)", - RuntimeWarning, - stacklevel=2, - ) args = mode, 0, 1 if args[0] in _MAPMODES: im = new(mode, (1, 1))