From 6bf7f6045d5e20ffa8bf836641ccd86ba101ac47 Mon Sep 17 00:00:00 2001 From: nulano Date: Wed, 1 Jan 2020 01:55:06 +0100 Subject: [PATCH] fix deprecation warnings in test_file_wmf --- Tests/test_file_wmf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_wmf.py b/Tests/test_file_wmf.py index 0aa36c33c..0166dbda0 100644 --- a/Tests/test_file_wmf.py +++ b/Tests/test_file_wmf.py @@ -55,11 +55,11 @@ class TestFileWmf(PillowTestCase): def test_load_set_dpi(self): with Image.open("Tests/images/drawing.wmf") as im: - self.assertEquals(im.size, (82, 82)) + self.assertEqual(im.size, (82, 82)) if hasattr(Image.core, "drawwmf"): im.load(144) - self.assertEquals(im.size, (164, 164)) + self.assertEqual(im.size, (164, 164)) with Image.open("Tests/images/drawing_wmf_ref_144.png") as expected: self.assert_image_similar(im, expected, 2.0)