summaryrefslogtreecommitdiff
path: root/tests/db_functions
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2016-11-11 23:42:34 +0100
committerTim Graham <timograham@gmail.com>2016-11-11 17:42:34 -0500
commita17fe73d2d3adc399b388dc6593b9af6a7c9d522 (patch)
tree9c7782bccb419a347e1edb3c006e1d9c15dccb77 /tests/db_functions
parent48f45431eb588c9193408fc7b58e8ccf9c179568 (diff)
Removed an unused function argument in db_functions test.
Diffstat (limited to 'tests/db_functions')
-rw-r--r--tests/db_functions/test_datetime.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/db_functions/test_datetime.py b/tests/db_functions/test_datetime.py
index a6c18438a6..c0e98a13a9 100644
--- a/tests/db_functions/test_datetime.py
+++ b/tests/db_functions/test_datetime.py
@@ -801,7 +801,7 @@ class DateFunctionWithTimeZoneTests(DateFunctionTests):
melb = pytz.timezone('Australia/Melbourne')
- def test_datetime_kind(kind, tzinfo=melb):
+ def test_datetime_kind(kind):
self.assertQuerysetEqual(
DTModel.objects.annotate(
truncated=Trunc('start_datetime', kind, output_field=DateTimeField(), tzinfo=melb)
@@ -813,7 +813,7 @@ class DateFunctionWithTimeZoneTests(DateFunctionTests):
lambda m: (m.start_datetime, m.truncated)
)
- def test_date_kind(kind, tzinfo=melb):
+ def test_date_kind(kind):
self.assertQuerysetEqual(
DTModel.objects.annotate(
truncated=Trunc('start_date', kind, output_field=DateField(), tzinfo=melb)
@@ -825,7 +825,7 @@ class DateFunctionWithTimeZoneTests(DateFunctionTests):
lambda m: (m.start_datetime, m.truncated)
)
- def test_time_kind(kind, tzinfo=melb):
+ def test_time_kind(kind):
self.assertQuerysetEqual(
DTModel.objects.annotate(
truncated=Trunc('start_time', kind, output_field=TimeField(), tzinfo=melb)