New submission from Richard Wise :
I am trying to use wraps to delegate a call to a decorated patch mock to
another method. By examining the source code, I was able to achieve this using
the (apparently undocumented) `Mock._mock_wraps` attribute instead of the
`wraps` attribute which would
New submission from Richard Wise :
from datetime import datetime, timezone, timedelta
datetime_in_sgt = datetime(2021, 2, 16, 8, 0, 0,
tzinfo=timezone(timedelta(hours=8)))
datetime_in_utc = datetime(2021, 2, 16, 0, 0, 0, tzinfo=timezone.utc)
print(datetime_in_sgt == datetime_in_utc