File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ async def test_file_download2file_async(anc_any, rand_bytes):
224224def test_file_download2stream_invalid_type (nc_any ):
225225 for test_type in (
226226 b"13" ,
227- int ( 55 ) ,
227+ 55 ,
228228 ):
229229 with pytest .raises (TypeError ):
230230 nc_any .files .download2stream ("xxx" , test_type )
@@ -234,7 +234,7 @@ def test_file_download2stream_invalid_type(nc_any):
234234async def test_file_download2stream_invalid_type_async (anc_any ):
235235 for test_type in (
236236 b"13" ,
237- int ( 55 ) ,
237+ 55 ,
238238 ):
239239 with pytest .raises (TypeError ):
240240 await anc_any .files .download2stream ("xxx" , test_type )
@@ -243,7 +243,7 @@ async def test_file_download2stream_invalid_type_async(anc_any):
243243def test_file_upload_stream_invalid_type (nc_any ):
244244 for test_type in (
245245 b"13" ,
246- int ( 55 ) ,
246+ 55 ,
247247 ):
248248 with pytest .raises (TypeError ):
249249 nc_any .files .upload_stream ("xxx" , test_type )
@@ -253,7 +253,7 @@ def test_file_upload_stream_invalid_type(nc_any):
253253async def test_file_upload_stream_invalid_type_async (anc_any ):
254254 for test_type in (
255255 b"13" ,
256- int ( 55 ) ,
256+ 55 ,
257257 ):
258258 with pytest .raises (TypeError ):
259259 await anc_any .files .upload_stream ("xxx" , test_type )
You can’t perform that action at this time.
0 commit comments