diff --git a/Tests/32bit_segfault_check.py b/Tests/32bit_segfault_check.py new file mode 100644 index 000000000..822d524fd --- /dev/null +++ b/Tests/32bit_segfault_check.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +from PIL import Image +import sys + + +if sys.maxsize < 2**32: + im = Image.new('L', (999999, 999999), 0) + + diff --git a/Tests/32bit_segfault_test.py b/Tests/32bit_segfault_test.py deleted file mode 100644 index 958bc6b3c..000000000 --- a/Tests/32bit_segfault_test.py +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env python - -from PIL import Image - -im = Image.new('L', (999999, 999999), 0) - -