Removed unused test for DateTime.local_offset

see discussion here #11274
Merge pull request #11274 from arunagw/deprecation-removed-build-fixed

Deprecation removed build fixed