mypy: Fix strict-optional errors for test files.

Fix mypy --strict-optional errors in zerver/tests
This commit is contained in:
umkay
2017-05-23 19:21:29 -07:00
committed by Tim Abbott
parent 17328a7557
commit ccc70445d6
16 changed files with 51 additions and 40 deletions

View File

@@ -92,7 +92,7 @@ class UploadSerializeMixin(SerializeMixin):
class ZulipTestCase(TestCase):
# Ensure that the test system just shows us diffs
maxDiff = None # type: int
maxDiff = None # type: Optional[int]
'''
WRAPPER_COMMENT: