'Tests that float values in JSONFields are correctly serialized over
repeated saves. Regression test for c382398b, which fixes floats
being returned as strings after a second save.'

def test_float_values(self):

    test_instance = JSONFieldTestModel(a=6, j_field={'test': 0.1})
    test_instance.save()
    test_instance = JSONFieldTestModel.objects.get()
    test_instance.save()
    test_instance = JSONFieldTestModel.objects.get()
    self.assertEqual(test_instance.j_field['test'], 0.1)
