Use assertEqual() instead of assertEquals()

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

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.


 
Description From Last Updated

'templatetags' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/accounts/tests.py
        reviewboard/reviews/tests.py
        reviewboard/site/tests.py
        reviewboard/diffviewer/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/accounts/tests.py
        reviewboard/reviews/tests.py
        reviewboard/site/tests.py
        reviewboard/diffviewer/tests.py
    
    
  2. reviewboard/site/tests.py (Diff revision 1)
     
     
    Show all issues
     'templatetags' imported but unused
    
  3. 
      
brennie
  1. Ship It!
  2. 
      
CR
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (bda66f4)