Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

python-examples: Remove unused result variable assigments.

Lauryn Menard265f85fa9583
diff --git a/zerver/openapi/python_examples.py b/zerver/openapi/python_examples.py
index 7342177e9b3..3471f230216 100644
--- a/zerver/openapi/python_examples.py
+++ b/zerver/openapi/python_examples.py
@@ -181,7 +181,7 @@ def get_presence(client: Client) -> None:
@openapi_test_function("/default_streams:post")
def add_default_stream(client: Client) -> None:
- result = client.add_subscriptions(
+ client.add_subscriptions(
streams=[
{
"name": "test channel",
@@ -711,7 +711,7 @@ def get_stream_id(client: Client) -> int:
@openapi_test_function("/streams/{stream_id}:delete")
def archive_stream(client: Client) -> None:
- result = client.add_subscriptions(
+ client.add_subscriptions(
streams=[
{
"name": "example to archive",