aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/test/svg_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'svg-flatten/src/test/svg_tests.py')
-rw-r--r--svg-flatten/src/test/svg_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/svg-flatten/src/test/svg_tests.py b/svg-flatten/src/test/svg_tests.py
index e417c19..d91bc0d 100644
--- a/svg-flatten/src/test/svg_tests.py
+++ b/svg-flatten/src/test/svg_tests.py
@@ -93,8 +93,8 @@ class SVGRoundTripTests(unittest.TestCase):
if vectorizer_test:
target_size = (100, 100)
- ref.thumbnail(target_size, Image.ANTIALIAS)
- out.thumbnail(target_size, Image.ANTIALIAS)
+ ref.thumbnail(target_size, Image.Resampling.LANCZOS)
+ out.thumbnail(target_size, Image.Resampling.LANCZOS)
ref, out = np.array(ref), np.array(out)
else: