From a0d7282ea738e56c6ca38a8dd0087a207c64401b Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 25 Dec 2015 21:49:22 +1100 Subject: [PATCH] Removed unused file --- Tests/crash_ttf_memory_error.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 Tests/crash_ttf_memory_error.py diff --git a/Tests/crash_ttf_memory_error.py b/Tests/crash_ttf_memory_error.py deleted file mode 100644 index 8af3dbcec..000000000 --- a/Tests/crash_ttf_memory_error.py +++ /dev/null @@ -1,14 +0,0 @@ -from PIL import Image, ImageFont, ImageDraw - -font = "../pil-archive/memory-error-2.ttf" - -s = "Test Text" -f = ImageFont.truetype(font, 64, index=0, encoding="unicode") -w, h = f.getsize(s) -i = Image.new("RGB", (500, h), "white") -d = ImageDraw.Draw(i) - -# this line causes a MemoryError -d.text((0, 0), s, font=f, fill=0) - -i.show()