summaryrefslogtreecommitdiff
path: root/tests/db_functions/math/test_power.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db_functions/math/test_power.py')
-rw-r--r--tests/db_functions/math/test_power.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/db_functions/math/test_power.py b/tests/db_functions/math/test_power.py
index a2d6156e3d..94929d38b7 100644
--- a/tests/db_functions/math/test_power.py
+++ b/tests/db_functions/math/test_power.py
@@ -13,9 +13,11 @@ class PowerTests(TestCase):
obj = IntegerModel.objects.annotate(
null_power_small=Power('small', 'normal'),
null_power_normal=Power('normal', 'big'),
+ null_power_big=Power('big', 'normal'),
).first()
self.assertIsNone(obj.null_power_small)
self.assertIsNone(obj.null_power_normal)
+ self.assertIsNone(obj.null_power_big)
def test_decimal(self):
DecimalModel.objects.create(n1=Decimal('1.0'), n2=Decimal('-0.6'))