Make datetime range for tests smaller

This commit is contained in:
Alexander Niederbühl 2019-10-19 18:28:53 +02:00
parent 8cdc0b42dd
commit ffe4e2f20a
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ MIN_DAYS = pdt.timedelta.min // pdt.timedelta(days=1)
MAX_MICROSECONDS = int(pdt.timedelta.max.total_seconds() * 1e6) MAX_MICROSECONDS = int(pdt.timedelta.max.total_seconds() * 1e6)
MIN_MICROSECONDS = int(pdt.timedelta.min.total_seconds() * 1e6) MIN_MICROSECONDS = int(pdt.timedelta.min.total_seconds() * 1e6)
MIN_DATETIME = pdt.datetime.min MIN_DATETIME = pdt.datetime(1970, 1, 1)
MAX_DATETIME = pdt.datetime.max MAX_DATETIME = pdt.datetime(3000, 1, 1)
PYPY = platform.python_implementation() == "PyPy" PYPY = platform.python_implementation() == "PyPy"
HAS_FOLD = getattr(pdt.datetime, "fold", False) HAS_FOLD = getattr(pdt.datetime, "fold", False)