Skip to content

Commit 5fb5228

Browse files
committed
TST: consolidate remaining tests under pandas.tests
move all remaining tests so that ALL tests are now under pandas/tests Author: Jeff Reback <[email protected]> Closes #15371 from jreback/tests and squashes the following commits: 43039e4 [Jeff Reback] add in data 118127b [Jeff Reback] wip bfa6a9c [Jeff Reback] fix data locations 79a79e6 [Jeff Reback] fix import 57437bf [Jeff Reback] fixes b407586 [Jeff Reback] move io e13bfe3 [Jeff Reback] move tools 0194e31 [Jeff Reback] move computation 0e6bcb4 [Jeff Reback] rename test_msgpack -> msgpack c5e4ab8 [Jeff Reback] move sparse 42e60e2 [Jeff Reback] move api tests
1 parent 1bad601 commit 5fb5228

File tree

344 files changed

+38
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

344 files changed

+38
-37
lines changed
File renamed without changes.

pandas/api/tests/test_api.py renamed to pandas/tests/api/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_api(self):
133133

134134
class TestApi(Base, tm.TestCase):
135135

136-
allowed = ['tests', 'types']
136+
allowed = ['types']
137137

138138
def test_api(self):
139139

pandas/tests/indexes/datetimes/test_ops.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,8 @@ def test_shift(self):
12451245
self.assertEqual(shifted[0], self.rng[0])
12461246
self.assertEqual(shifted.offset, self.rng.offset)
12471247

1248-
with tm.assert_produces_warning(PerformanceWarning):
1248+
# PerformanceWarning
1249+
with warnings.catch_warnings(record=True):
12491250
rng = date_range(START, END, freq=BMonthEnd())
12501251
shifted = rng.shift(1, freq=CDay())
12511252
self.assertEqual(shifted[0], rng[0] + CDay())
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)