File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 1717 hooks :
1818 - id : isort
1919 - repo : ' https://github.com/psf/black'
20- rev : 21.7b0
20+ rev : 22.1.0
2121 hooks :
2222 - id : black
2323 - repo : ' https://github.com/pycqa/flake8'
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ def test_object_copy(self):
214214 assert response is None
215215
216216 def test_copy_progress (self ):
217- chunksize = 8 * (1024 ** 2 )
217+ chunksize = 8 * (1024 ** 2 )
218218 self .stub_multipart_copy (chunksize , 3 )
219219 transfer_config = TransferConfig (
220220 multipart_chunksize = chunksize ,
@@ -329,7 +329,7 @@ def test_object_upload(self):
329329 self .stubber .assert_no_pending_responses ()
330330
331331 def test_multipart_upload (self ):
332- chunksize = 8 * (1024 ** 2 )
332+ chunksize = 8 * (1024 ** 2 )
333333 contents = six .BytesIO (b'0' * (chunksize * 3 ))
334334 self .stub_multipart_upload (num_parts = 3 )
335335 transfer_config = TransferConfig (
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ def test_upload_fileobj_progress(self):
350350 # This has to be an integration test because the fileobj will never
351351 # actually be read from when using the stubber and therefore the
352352 # progress callbacks will not be invoked.
353- chunksize = 5 * (1024 ** 2 )
353+ chunksize = 5 * (1024 ** 2 )
354354 config = boto3 .s3 .transfer .TransferConfig (
355355 multipart_chunksize = chunksize ,
356356 multipart_threshold = chunksize ,
Original file line number Diff line number Diff line change @@ -198,14 +198,11 @@ def test_deserialize_list(self):
198198 ) == [Decimal ('1' ), 'foo' , [Decimal ('1.25' )]]
199199
200200 def test_deserialize_map (self ):
201- assert (
202- self .deserializer .deserialize (
203- {
204- 'M' : {
205- 'foo' : {'S' : 'mystring' },
206- 'bar' : {'M' : {'baz' : {'N' : '1' }}},
207- }
201+ assert self .deserializer .deserialize (
202+ {
203+ 'M' : {
204+ 'foo' : {'S' : 'mystring' },
205+ 'bar' : {'M' : {'baz' : {'N' : '1' }}},
208206 }
209- )
210- == {'foo' : 'mystring' , 'bar' : {'baz' : Decimal ('1' )}}
211- )
207+ }
208+ ) == {'foo' : 'mystring' , 'bar' : {'baz' : Decimal ('1' )}}
You can’t perform that action at this time.
0 commit comments