Skip to content

Commit

Permalink
recover test_resample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-yu-wang authored Jun 12, 2024
1 parent 5ae1c31 commit efc83e6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/transform/test_resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,9 @@ def test_two_month(self):
logger.info("Testing start-of-month resampling with an offset...")
self._test_granularity(granularity="2MS", offset=pd.Timedelta(days=3, hours=6, minutes=30))
logger.info("Testing end-of-month resampling...")
if sys.version_info[1] < 8:
self._test_granularity(granularity="2M")
else:
self._test_granularity(granularity="2ME")
self._test_granularity(granularity="2M")
logger.info("Testing end-of-month resampling...")
if sys.version_info[1] < 8:
self._test_granularity(granularity="2M", offset=-pd.Timedelta(days=7, hours=7))
else:
self._test_granularity(granularity="2ME", offset=-pd.Timedelta(days=7, hours=7))
self._test_granularity(granularity="2M", offset=-pd.Timedelta(days=7, hours=7))

def test_yearly(self):
logger.info("Testing start-of-year resampling...")
Expand Down

0 comments on commit efc83e6

Please sign in to comment.