[2.0.x] Refs #28932 -- Skipped the failing test for refs #28915 on Oracle.

This commit is contained in:
Tim Graham 2017-12-20 11:59:45 -05:00
parent 2679cdbea2
commit 7c939ae6e4
1 changed files with 1 additions and 0 deletions

View File

@ -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'))