fixed formatting (#1096)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from datetime import date, timezone
|
||||
|
||||
import pytest
|
||||
|
||||
from osxphotos.datetime_utils import *
|
||||
@@ -93,4 +94,4 @@ def test_datetime_utc_to_local_2():
|
||||
tz = datetime.timezone(offset=datetime.timedelta(seconds=7200))
|
||||
utc = datetime.datetime(2020, 9, 1, 19, 0, 0, tzinfo=datetime.timezone.utc)
|
||||
dt = datetime_utc_to_local(utc)
|
||||
assert dt == datetime.datetime(2020, 9, 1, 21, 0, 0, tzinfo=tz)
|
||||
assert dt == datetime.datetime(2020, 9, 1, 21, 0, 0, tzinfo=tz)
|
||||
|
||||
Reference in New Issue
Block a user