code: def test_rsub(date, offset2):
      assert date - offset2 == (-offset2)._apply(date)
  
file_path: pandas/pandas/tests/tseries/offsets/test_common.py
imports: from datetime import datetime
  from dateutil.tz.tz import tzlocal
  import pytest
  from pandas._libs.tslibs import OutOfBoundsDatetime, Timestamp
  from pandas.compat import IS64, is_platform_windows
  from pandas.tseries.offsets import FY5253, BDay, BMonthBegin, BMonthEnd, BQuarterBegin, BQuarterEnd, BusinessHour, BYearBegin, BYearEnd, CBMonthBegin, CBMonthEnd, CDay, CustomBusinessHour, DateOffset, FY5253Quarter, LastWeekOfMonth, MonthBegin, MonthEnd, QuarterEnd, SemiMonthBegin, SemiMonthEnd, Week, WeekOfMonth, YearBegin, YearEnd
label_desc: Use image node_id 5 for calling a global function with example usage: test_rsub(date, offset2) without return types