We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f05d5fb commit c81cc6bCopy full SHA for c81cc6b
pandas/conftest.py
@@ -84,6 +84,9 @@
84
Hashable,
85
Iterator,
86
)
87
+from typing import cast
88
+
89
+from pandas._typing import Dtype
90
91
try:
92
import pyarrow as pa
@@ -1448,7 +1451,7 @@ def complex_dtype(request):
1448
1451
return request.param
1449
1452
1450
1453
-@pytest.fixture(params=tm.COMPLEX_DTYPES + tm.FLOAT_NUMPY_DTYPES)
1454
+@pytest.fixture(params=tm.COMPLEX_DTYPES + cast(list[Dtype], tm.FLOAT_NUMPY_DTYPES))
1455
def complex_or_float_dtype(request):
1456
"""
1457
Parameterized fixture for complex and numpy float dtypes.
0 commit comments