Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pandas/tests/arrays/test_datetimelike.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
from typing import Type, Union

import numpy as np
import pytest

from pandas._libs import OutOfBoundsDatetime

import pandas as pd
from pandas.core.arrays import DatetimeArray, PeriodArray, TimedeltaArray
from pandas.core.indexes.datetimes import DatetimeIndex
from pandas.core.indexes.period import PeriodIndex
from pandas.core.indexes.timedeltas import TimedeltaIndex
import pandas.util.testing as tm


Expand Down Expand Up @@ -52,7 +57,7 @@ def timedelta_index(request):


class SharedTests:
index_cls = None
index_cls = None # type: Type[Union[DatetimeIndex, PeriodIndex, TimedeltaIndex]]

def test_compare_len1_raises(self):
# make sure we raise when comparing with different lengths, specific
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ ignore_errors=True
[mypy-pandas.tests.arithmetic.test_datetime64]
ignore_errors=True

[mypy-pandas.tests.arrays.test_datetimelike]
ignore_errors=True

[mypy-pandas.tests.dtypes.test_common]
ignore_errors=True

Expand Down