File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,26 @@ def time_pandas_dtype_invalid(self, dtype):
50
50
51
51
class SelectDtypes :
52
52
53
- params = [
54
- tm .ALL_INT_NUMPY_DTYPES
55
- + tm .ALL_INT_EA_DTYPES
56
- + tm .FLOAT_NUMPY_DTYPES
57
- + tm .COMPLEX_DTYPES
58
- + tm .DATETIME64_DTYPES
59
- + tm .TIMEDELTA64_DTYPES
60
- + tm .BOOL_DTYPES
61
- ]
53
+ try :
54
+ params = [
55
+ tm .ALL_INT_NUMPY_DTYPES
56
+ + tm .ALL_INT_EA_DTYPES
57
+ + tm .FLOAT_NUMPY_DTYPES
58
+ + tm .COMPLEX_DTYPES
59
+ + tm .DATETIME64_DTYPES
60
+ + tm .TIMEDELTA64_DTYPES
61
+ + tm .BOOL_DTYPES
62
+ ]
63
+ except AttributeError :
64
+ params = [
65
+ tm .ALL_INT_DTYPES
66
+ + tm .ALL_EA_INT_DTYPES
67
+ + tm .FLOAT_DTYPES
68
+ + tm .COMPLEX_DTYPES
69
+ + tm .DATETIME64_DTYPES
70
+ + tm .TIMEDELTA64_DTYPES
71
+ + tm .BOOL_DTYPES
72
+ ]
62
73
param_names = ["dtype" ]
63
74
64
75
def setup (self , dtype ):
You can’t perform that action at this time.
0 commit comments