Skip to content

Commit c7e4b21

Browse files
gfyoungjreback
authored andcommitted
CLN/TST: Cleanup tests in test_ujson.py (#21739)
1 parent bd8ba36 commit c7e4b21

File tree

4 files changed

+727
-1243
lines changed

4 files changed

+727
-1243
lines changed

pandas/conftest.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def string_dtype(request):
250250
return request.param
251251

252252

253-
@pytest.fixture(params=["float32", "float64"])
253+
@pytest.fixture(params=[float, "float32", "float64"])
254254
def float_dtype(request):
255255
"""
256256
Parameterized fixture for float dtypes.
@@ -262,7 +262,7 @@ def float_dtype(request):
262262
return request.param
263263

264264

265-
@pytest.fixture(params=["complex64", "complex128"])
265+
@pytest.fixture(params=[complex, "complex64", "complex128"])
266266
def complex_dtype(request):
267267
"""
268268
Parameterized fixture for complex dtypes.
@@ -275,7 +275,7 @@ def complex_dtype(request):
275275

276276

277277
UNSIGNED_INT_DTYPES = ["uint8", "uint16", "uint32", "uint64"]
278-
SIGNED_INT_DTYPES = ["int8", "int16", "int32", "int64"]
278+
SIGNED_INT_DTYPES = [int, "int8", "int16", "int32", "int64"]
279279
ALL_INT_DTYPES = UNSIGNED_INT_DTYPES + SIGNED_INT_DTYPES
280280

281281

0 commit comments

Comments
 (0)