[typing] suppress errors in `fbcode/caffe2` - batch 2
authorPyre Bot Jr <>
Tue, 10 Aug 2021 17:22:43 +0000 (10:22 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 10 Aug 2021 17:26:52 +0000 (10:26 -0700)
Test Plan: Sandcastle

Differential Revision: D30222378

fbshipit-source-id: 6a0a5d210266f19de63273240a080365c9143eb0

caffe2/python/serialized_test/serialized_test_util.py

index 20a08a2..7fa92a9 100644 (file)
@@ -264,6 +264,7 @@ class SerializedTestCase(hu.HypothesisTestCase):
     def set_disable_serialized_check(self, val: bool):
         orig = getattr(_output_context, 'disable_serialized_check', False)
         try:
+            # pyre-fixme[16]: `local` has no attribute `disable_serialized_check`.
             _output_context.disable_serialized_check = val
             yield
         finally: