peterbe / premailer

Turns CSS blocks into style attributes
https://premailer.io
BSD 3-Clause "New" or "Revised" License
1.06k stars 188 forks source link

Use assertEqual instead of assertEquals for Python 3.11 compatibility. #265

Open tirkarthi opened 2 years ago

tirkarthi commented 2 years ago

The deprecated aliases were removed in Python 3.11 in python/cpython#28268 .

browniebroke commented 1 year ago

I was surprised to se that it actually still works in Python 3.11... It turns out this removal was reverted and deferred until Python 3.12: https://github.com/python/cpython/commit/b50322d20337ca468f2070eedb051a16ee1eba94

Would be nice to get it fixed anyway 👍🏻