mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Refs #23668 -- Removed passing default argument of current TZ to make_aware()/naive.
This commit is contained in:
parent
65728550bd
commit
3c34452ab5
3 changed files with 3 additions and 4 deletions
|
@ -100,7 +100,7 @@ class TestRangeContainsLookup(PostgreSQLTestCase):
|
|||
datetime.datetime(year=2016, month=2, day=2),
|
||||
]
|
||||
cls.aware_timestamps = [
|
||||
timezone.make_aware(timestamp, timezone.get_current_timezone())
|
||||
timezone.make_aware(timestamp)
|
||||
for timestamp in cls.timestamps
|
||||
]
|
||||
cls.dates = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue