Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nulano
Copy link
Contributor

@nulano nulano commented Jan 1, 2020

Fix two deprecation warnings in test_file_wmf introduced in #4311.

From https://github.com/python-pillow/Pillow/runs/369013311#step:24:1469:

============================== warnings summary ===============================
Tests/test_file_wmf.py::TestFileWmf::test_load_set_dpi
  d:\a\Pillow\Pillow\Tests\test_file_wmf.py:58: DeprecationWarning: Please use assertEqual instead.
    self.assertEquals(im.size, (82, 82))

Tests/test_file_wmf.py::TestFileWmf::test_load_set_dpi
  d:\a\Pillow\Pillow\Tests\test_file_wmf.py:62: DeprecationWarning: Please use assertEqual instead.
    self.assertEquals(im.size, (164, 164))

-- Docs: https://docs.pytest.org/en/latest/warnings.html

@radarhere
Copy link
Member

Thanks

@radarhere radarhere merged commit 94ec95c into python-pillow:master Jan 1, 2020
@nulano nulano deleted the wmf-warning branch January 1, 2020 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants