Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_utc():
now = datetime.datetime.utcnow().replace(tzinfo=demoji.utc)
assert now.utcoffset() == datetime.timedelta(0)