diff options
| author | David Wobrock <david.wobrock@gmail.com> | 2022-09-27 20:41:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-27 20:41:10 +0200 |
| commit | cff1f888e997522666835f96833840f52a13d322 (patch) | |
| tree | 87dc106f7d7b6d56eff827dd3a189392b0b30062 /tests/expressions | |
| parent | bf47c719719d0e190a99fa2e7f959d5bbb7caf8a (diff) | |
Fixed #33464 -- Resolved output_field for combined numeric expressions with MOD operator.
Diffstat (limited to 'tests/expressions')
| -rw-r--r-- | tests/expressions/tests.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index 39e6c18b1a..d63415ae72 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -2416,7 +2416,13 @@ class CombinedExpressionTests(SimpleTestCase): (IntegerField, FloatField, FloatField), (FloatField, IntegerField, FloatField), ] - connectors = [Combinable.ADD, Combinable.SUB, Combinable.MUL, Combinable.DIV] + connectors = [ + Combinable.ADD, + Combinable.SUB, + Combinable.MUL, + Combinable.DIV, + Combinable.MOD, + ] for lhs, rhs, combined in tests: for connector in connectors: with self.subTest( |
