-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Closed
Labels
CleanTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite
Milestone
Description
Code Sample, a copy-pastable example if possible
pandas/pandas/tests/indexes/test_range.py
Lines 642 to 649 in 36dadd7
| def test_intersect_str_dates(self): | |
| dt_dates = [datetime(2012, 2, 9), datetime(2012, 2, 22)] | |
| i1 = Index(dt_dates, dtype=object) | |
| i2 = Index(['aa'], dtype=object) | |
| res = i2.intersection(i1) | |
| assert len(res) == 0 |
Problem description
The test_intersect_str_dates test within tests/indexes/test_range.py doesn't appear to have anything to do with RangeIndex. It seems like this should be moved to tests/indexes/test_base.py? Happy to submit a PR if this is the case.
Metadata
Metadata
Assignees
Labels
CleanTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite