mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-29 04:21:10 -05:00
[pyupgrade] tests/ (#10347)
This commit is contained in:
parent
879d8c1ee1
commit
89cfc3dd98
20 changed files with 45 additions and 58 deletions
|
|
@ -273,7 +273,7 @@ class MatrixFederationAgentTests(unittest.TestCase):
|
|||
self.assertEqual(response.code, 200)
|
||||
|
||||
# Send the body
|
||||
request.write('{ "a": 1 }'.encode("ascii"))
|
||||
request.write(b'{ "a": 1 }')
|
||||
request.finish()
|
||||
|
||||
self.reactor.pump((0.1,))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue