We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f6da14 commit 0d8376fCopy full SHA for 0d8376f
bson/codec_options.py
@@ -377,7 +377,7 @@ def __new__(
377
raise TypeError("type_registry must be an instance of TypeRegistry")
378
379
return tuple.__new__(
380
- cls,
+ cls, # type: ignore[type-var]
381
(
382
doc_class,
383
tz_aware,
test/test_encryption.py
@@ -2162,7 +2162,7 @@ def test_05_tlsDisableOCSPEndpointCheck_is_permitted(self):
2162
self.addCleanup(encryption.close)
2163
ctx = encryption._io_callbacks.opts._kms_ssl_contexts["aws"]
2164
if not hasattr(ctx, "check_ocsp_endpoint"):
2165
- raise self.skipTest("OCSP not enabled") # type:ignore
+ raise self.skipTest("OCSP not enabled")
2166
self.assertFalse(ctx.check_ocsp_endpoint)
2167
2168
0 commit comments