From 7c939ae6e461323ad63aae105182768611ff0a94 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 20 Dec 2017 11:59:45 -0500 Subject: [PATCH] [2.0.x] Refs #28932 -- Skipped the failing test for refs #28915 on Oracle. --- tests/model_fields/test_decimalfield.py | 1 + 1 file changed, 1 insertion(+) 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'))