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.

tests: Remove dead print-delay code.

Steve Howell21dfe762952d
diff --git a/zerver/tests/test_message_send.py b/zerver/tests/test_message_send.py
index 3ffe7ac91a2..b45c2b83760 100644
--- a/zerver/tests/test_message_send.py
+++ b/zerver/tests/test_message_send.py
@@ -1,5 +1,4 @@
import datetime
-import time
from typing import Any, Optional, Set
from unittest import mock
@@ -1143,14 +1142,9 @@ class StreamMessagesTest(ZulipTestCase):
before_um_count = UserMessage.objects.count()
- t = time.time()
for i in range(num_messages):
send_test_message()
- delay = time.time() - t
- assert(delay) # quiet down lint
- # print(delay)
-
after_um_count = UserMessage.objects.count()
ums_created = after_um_count - before_um_count