Skip to content

Commit

Permalink
style: run black on patch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shifqu committed May 12, 2023
1 parent 2734f89 commit b956f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcr/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def reset_patchers():
yield mock.patch.object(
cpool.HTTPSConnectionPool, "ConnectionCls", _cpoolBoto3HTTPSConnection
)

# Leave this here for mocked httpsconnection from cpool (removed in urllib > 2)
if hasattr(cpool, "HTTPSConnection"):
yield mock.patch.object(cpool, "HTTPSConnection", _cpoolBoto3HTTPSConnection)
Expand Down

0 comments on commit b956f2f

Please sign in to comment.