@@ -298,7 +298,6 @@ def arrays(
298
298
primarily designed around testing small examples. If you have arrays with
299
299
hundreds or more elements, having a fill value is essential if you want
300
300
your tests to run in reasonable time.
301
-
302
301
"""
303
302
if isinstance (dtype , SearchStrategy ):
304
303
dtype = draw (dtype )
@@ -383,7 +382,6 @@ def unsigned_integer_dtypes(endianness='?', sizes=(8, 16, 32, 64)):
383
382
384
383
sizes must be a collection of integer sizes in bits. The default
385
384
(8, 16, 32, 64) covers the full range of sizes.
386
-
387
385
"""
388
386
return dtype_factory ('u' , sizes , (8 , 16 , 32 , 64 ), endianness )
389
387
@@ -394,7 +392,6 @@ def integer_dtypes(endianness='?', sizes=(8, 16, 32, 64)):
394
392
395
393
endianness and sizes are treated as for
396
394
:func:`unsigned_integer_dtypes`.
397
-
398
395
"""
399
396
return dtype_factory ('i' , sizes , (8 , 16 , 32 , 64 ), endianness )
400
397
@@ -409,7 +406,6 @@ def floating_dtypes(endianness='?', sizes=(16, 32, 64)):
409
406
Larger floats (96 and 128 bit real parts) are not supported on all
410
407
platforms and therefore disabled by default. To generate these dtypes,
411
408
include these values in the sizes argument.
412
-
413
409
"""
414
410
return dtype_factory ('f' , sizes , (16 , 32 , 64 , 96 , 128 ), endianness )
415
411
@@ -421,7 +417,6 @@ def complex_number_dtypes(endianness='?', sizes=(64, 128)):
421
417
sizes is the total size in bits of a complex number, which consists
422
418
of two floats. Complex halfs (a 16-bit real part) are not supported
423
419
by numpy and will not be generated by this strategy.
424
-
425
420
"""
426
421
return dtype_factory ('c' , sizes , (64 , 128 , 192 , 256 ), endianness )
427
422
@@ -503,7 +498,6 @@ def nested_dtypes(subtype_strategy=scalar_dtypes(),
503
498
:func:`array_dtypes` with ``allow_subarrays=True``. Subdtypes in an
504
499
array dtype may be nested to any depth, subject to the max_leaves
505
500
argument.
506
-
507
501
"""
508
502
return st .recursive (subtype_strategy ,
509
503
lambda x : array_dtypes (x , allow_subarrays = True ),
0 commit comments