mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-24 16:40:24 -04:00
Replace assertEquals and friends with non-deprecated versions. (#12092)
This commit is contained in:
parent
ab3ef49059
commit
02d708568b
62 changed files with 888 additions and 889 deletions
|
@ -17,7 +17,7 @@ from .. import unittest
|
|||
|
||||
class LoggingContextTestCase(unittest.TestCase):
|
||||
def _check_test_key(self, value):
|
||||
self.assertEquals(current_context().name, value)
|
||||
self.assertEqual(current_context().name, value)
|
||||
|
||||
def test_with_context(self):
|
||||
with LoggingContext("test"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue