id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 11284 Replace deprecated unittest method aliases Ryan J Ollos Ryan J Ollos Several unittest method aliases are deprecated [http://docs.python.org/2/library/unittest.html#deprecated-aliases since Python 2.7]. Although it is not necessary to make the changes now, it seems like a good step toward making the codebase more readable, and better to make all the changes at once. enhancement closed low 1.0.2 general 1.0-stable normal fixed unit tests Replaced deprecated unit test method aliases, and refactored unit tests to utilize new methods in `trac.tests.compat`. The `trac.tests.compat` module adds methods to `unittest.TestCase` that are available in Python 2.7, such as `assertIn` and `assertIs`. To make the methods available in a test suite module, add `from trac.tests import compat`.