Use assertEqual() instead of assertEquals()

Review Request #7788 — Created Dec. 2, 2015 and submitted — Latest diff uploaded

Information

Review Board

Reviewers

assertEquals() is a deprecated alias for assertEqual() and may
go away in a future version of Python:
https://docs.python.org/3/library/unittest.html#deprecated-aliases

The alias exists as far back as Python 2.6:
https://hg.python.org/cpython/file/v2.6.2/Lib/unittest.py#l386

This commit future proofs the code for future versions of Python.


 
    Loading...