Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/datetime/test_construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_creates_an_instance_default_to_utcnow():


def test_setting_timezone():
tz = "Europe/London"
tz = "Australia/Brisbane"
dtz = timezone(tz)
dt = datetime.utcnow()
offset = dtz.convert(dt).utcoffset().total_seconds() / 3600
Expand All @@ -50,7 +50,7 @@ def test_setting_timezone():


def test_setting_timezone_with_string():
tz = "Europe/London"
tz = "Australia/Brisbane"
dtz = timezone(tz)
dt = datetime.utcnow()
offset = dtz.convert(dt).utcoffset().total_seconds() / 3600
Expand Down
Loading