SpamExperts / pyzor

Pyzor is a Python implementation of a spam-blocking networked system that use spam signatures to identify them.
GNU General Public License v2.0
139 stars 31 forks source link

Python 3.11 compatibility: Rename deprecated assertEquals() to assertEqual() #119

Closed robert-scheck closed 2 years ago

robert-scheck commented 2 years ago

Without this patch, building latest Pyzor using Python 3.11.0a2 fails like this:

AttributeError: 'LoadAccountTest' object has no attribute 'assertEquals'

See also: https://bugzilla.redhat.com/show_bug.cgi?id=2026772

tonyandrewmeyer commented 2 years ago

Thanks!