File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ class ACL(object):
137
137
138
138
# Subclasses must override to provide these attributes (typically,
139
139
# as properties).
140
- client = None
141
140
reload_path = None
142
141
save_path = None
143
142
user_project = None
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def __init__(
147
147
kw_args ["api_endpoint" ] = storage_host if _is_emulator_set else None
148
148
149
149
if client_options :
150
- if type (client_options ) == dict :
150
+ if isinstance (client_options , dict ) :
151
151
client_options = google .api_core .client_options .from_dict (
152
152
client_options
153
153
)
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ def test_upload_many_suppresses_412_with_skip_if_exists():
192
192
worker_type = transfer_manager .THREAD ,
193
193
)
194
194
for result in results :
195
- assert type (result ) == exceptions .PreconditionFailed
195
+ assert isinstance (result , exceptions .PreconditionFailed )
196
196
197
197
198
198
def test_upload_many_with_processes ():
You can’t perform that action at this time.
0 commit comments