diff --git a/tests/rest/client/v2_alpha/test_sync.py b/tests/rest/client/v2_alpha/test_sync.py
index d0414864ab..7f68032d9d 100644
--- a/tests/rest/client/v2_alpha/test_sync.py
+++ b/tests/rest/client/v2_alpha/test_sync.py
@@ -349,7 +349,7 @@ class SyncKnockTestCase(
self.knocker_tok = self.login("knocker", "monkey")
# Perform an initial sync for the knocking user.
- _, channel = self.make_request(
+ channel = self.make_request(
"GET", self.url % self.next_batch, access_token=self.tok,
)
self.assertEqual(channel.code, 200, channel.json_body)
@@ -366,7 +366,7 @@ class SyncKnockTestCase(
def test_knock_room_state(self):
"""Tests that /sync returns state from a room after knocking on it."""
# Knock on a room
- _, channel = self.make_request(
+ channel = self.make_request(
"POST",
"/_matrix/client/unstable/xyz.amorgan.knock/%s" % (self.room_id,),
b"{}",
@@ -381,7 +381,7 @@ class SyncKnockTestCase(
}
# Check that /sync includes stripped state from the room
- _, channel = self.make_request(
+ channel = self.make_request(
"GET", self.url % self.next_batch, access_token=self.knocker_tok,
)
self.assertEqual(channel.code, 200, channel.json_body)
|