File tree 2 files changed +721
-0
lines changed
2 files changed +721
-0
lines changed Original file line number Diff line number Diff line change @@ -399,6 +399,10 @@ def tz_aware_fixture(request):
399
399
return request .param
400
400
401
401
402
+ # Generate cartesian product of tz_aware_fixture:
403
+ tz_aware_fixture2 = tz_aware_fixture
404
+
405
+
402
406
# ----------------------------------------------------------------
403
407
# Dtypes
404
408
# ----------------------------------------------------------------
@@ -438,6 +442,46 @@ def string_dtype(request):
438
442
return request .param
439
443
440
444
445
+ @pytest .fixture (params = BYTES_DTYPES )
446
+ def bytes_dtype (request ):
447
+ """Parametrized fixture for bytes dtypes.
448
+
449
+ * bytes
450
+ * 'bytes'
451
+ """
452
+ return request .param
453
+
454
+
455
+ @pytest .fixture (params = OBJECT_DTYPES )
456
+ def object_dtype (request ):
457
+ """Parametrized fixture for object dtypes.
458
+
459
+ * object
460
+ * 'object'
461
+ """
462
+ return request .param
463
+
464
+
465
+ @pytest .fixture (params = DATETIME64_DTYPES )
466
+ def datetime64_dtype (request ):
467
+ """Parametrized fixture for datetime64 dtypes.
468
+
469
+ * 'datetime64[ns]'
470
+ * 'M8[ns]'
471
+ """
472
+ return request .param
473
+
474
+
475
+ @pytest .fixture (params = TIMEDELTA64_DTYPES )
476
+ def timedelta64_dtype (request ):
477
+ """Parametrized fixture for timedelta64 dtypes.
478
+
479
+ * 'timedelta64[ns]'
480
+ * 'm8[ns]'
481
+ """
482
+ return request .param
483
+
484
+
441
485
@pytest .fixture (params = FLOAT_DTYPES )
442
486
def float_dtype (request ):
443
487
"""
You can’t perform that action at this time.
0 commit comments