diff options
| author | Tim Graham <timograham@gmail.com> | 2017-12-20 11:59:45 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-12-20 11:59:45 -0500 |
| commit | 7c939ae6e461323ad63aae105182768611ff0a94 (patch) | |
| tree | e2d55a377badf912921712a49c1e161427937080 /tests/model_fields | |
| parent | 2679cdbea2901ea83fdc9562a92d3760af39ae53 (diff) | |
[2.0.x] Refs #28932 -- Skipped the failing test for refs #28915 on Oracle.
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/test_decimalfield.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_fields/test_decimalfield.py b/tests/model_fields/test_decimalfield.py index 893d529ed5..c656700023 100644 --- a/tests/model_fields/test_decimalfield.py +++ b/tests/model_fields/test_decimalfield.py @@ -82,6 +82,7 @@ class DecimalFieldTests(TestCase): with self.assertRaisesMessage(ValidationError, expected_message): field.clean(Decimal('999'), None) + @unittest.skipIf(connection.vendor == 'oracle', 'Fixed in later versions of Django (#28932).') def test_roundtrip_with_trailing_zeros(self): """Trailing zeros in the fractional part aren't truncated.""" obj = Foo.objects.create(a='bar', d=Decimal('8.320')) |
