mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
mypy: Explicitly specify List[Any] in test_classes.py.
This commit is contained in:
committed by
Tim Abbott
parent
792a580efb
commit
692e2150c6
@@ -487,7 +487,7 @@ class ZulipTestCase(TestCase):
|
|||||||
self.assertEqual(self.get_json_error(result, status_code=status_code), msg)
|
self.assertEqual(self.get_json_error(result, status_code=status_code), msg)
|
||||||
|
|
||||||
def assert_length(self, items, count):
|
def assert_length(self, items, count):
|
||||||
# type: (List, int) -> None
|
# type: (List[Any], int) -> None
|
||||||
actual_count = len(items)
|
actual_count = len(items)
|
||||||
if actual_count != count: # nocoverage
|
if actual_count != count: # nocoverage
|
||||||
print('ITEMS:\n')
|
print('ITEMS:\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user