Skip to content

Commit

Permalink
fix type errors in pandas/tests/arithmetic/test_datetime64.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SaturnFromTitan committed Feb 11, 2020
1 parent 50ebb24 commit 515df25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pandas/core/indexes/datetimes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from datetime import date, datetime, time, timedelta, tzinfo
import operator
from typing import Optional
from typing import Callable, Optional
import warnings

import numpy as np
Expand Down Expand Up @@ -191,6 +191,7 @@ class DatetimeIndex(DatetimeTimedeltaMixin):

_data: DatetimeArray
tz: Optional[tzinfo]
tz_localize: Callable[..., "DatetimeIndex"]

# --------------------------------------------------------------------
# Constructors
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ check_untyped_defs=False
[mypy-pandas.conftest]
ignore_errors=True

[mypy-pandas.tests.arithmetic.test_datetime64]
ignore_errors=True

[mypy-pandas.tests.indexes.datetimes.test_tools]
ignore_errors=True

Expand Down

0 comments on commit 515df25

Please sign in to comment.