@@ -324,11 +324,13 @@ def test_is_datetimelike():
324
324
325
325
@pytest .mark .parametrize (
326
326
"dtype" ,
327
- [pd .Series ([1 , 2 ])]
328
- + ALL_INT_DTYPES
329
- + to_numpy_dtypes (ALL_INT_DTYPES )
330
- + ALL_EA_INT_DTYPES
331
- + to_ea_dtypes (ALL_EA_INT_DTYPES ),
327
+ [
328
+ type (pd .Series ([1 , 2 ])),
329
+ * ALL_INT_DTYPES ,
330
+ * to_numpy_dtypes (ALL_INT_DTYPES ),
331
+ * ALL_EA_INT_DTYPES ,
332
+ * to_ea_dtypes (ALL_EA_INT_DTYPES )
333
+ ]
332
334
)
333
335
def test_is_integer_dtype (dtype ):
334
336
assert com .is_integer_dtype (dtype )
@@ -352,11 +354,13 @@ def test_is_not_integer_dtype(dtype):
352
354
353
355
@pytest .mark .parametrize (
354
356
"dtype" ,
355
- [pd .Series ([1 , 2 ])]
356
- + SIGNED_INT_DTYPES
357
- + to_numpy_dtypes (SIGNED_INT_DTYPES )
358
- + SIGNED_EA_INT_DTYPES
359
- + to_ea_dtypes (SIGNED_EA_INT_DTYPES ),
357
+ [
358
+ type (pd .Series ([1 , 2 ])),
359
+ * SIGNED_INT_DTYPES ,
360
+ * to_numpy_dtypes (SIGNED_INT_DTYPES ),
361
+ * SIGNED_EA_INT_DTYPES ,
362
+ * to_ea_dtypes (SIGNED_EA_INT_DTYPES )
363
+ ]
360
364
)
361
365
def test_is_signed_integer_dtype (dtype ):
362
366
assert com .is_integer_dtype (dtype )
@@ -384,11 +388,13 @@ def test_is_not_signed_integer_dtype(dtype):
384
388
385
389
@pytest .mark .parametrize (
386
390
"dtype" ,
387
- [pd .Series ([1 , 2 ], dtype = np .uint32 )]
388
- + UNSIGNED_INT_DTYPES
389
- + to_numpy_dtypes (UNSIGNED_INT_DTYPES )
390
- + UNSIGNED_EA_INT_DTYPES
391
- + to_ea_dtypes (UNSIGNED_EA_INT_DTYPES ),
391
+ [
392
+ type (pd .Series ([1 , 2 ], dtype = np .uint32 )),
393
+ * UNSIGNED_INT_DTYPES ,
394
+ * to_numpy_dtypes (UNSIGNED_INT_DTYPES ),
395
+ * UNSIGNED_EA_INT_DTYPES ,
396
+ * to_ea_dtypes (UNSIGNED_EA_INT_DTYPES )
397
+ ]
392
398
)
393
399
def test_is_unsigned_integer_dtype (dtype ):
394
400
assert com .is_unsigned_integer_dtype (dtype )
0 commit comments