diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2010-01-09 19:20:51 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2010-01-09 19:20:51 +0000 |
| commit | 03d57f0a82fb0997ef66adbab720a5597cbfe78c (patch) | |
| tree | 4544f754ac0b95c9df58891ccd3ddf85dcc6aa44 | |
| parent | 4bbbf6cc12fded628fc5115523907be691c0d13b (diff) | |
[1.1.X] Fixed #12562: Made Platypus just a tad lighter so it does not trigger noticing version-dependent differences in Ptyhon string/float conversions.
r12132 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | tests/regressiontests/fixtures_regress/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/fixtures_regress/models.py b/tests/regressiontests/fixtures_regress/models.py index e33471646c..949f024c63 100644 --- a/tests/regressiontests/fixtures_regress/models.py +++ b/tests/regressiontests/fixtures_regress/models.py @@ -82,7 +82,7 @@ __test__ = {'API_TESTS':""" # Create a new animal. Without a sequence reset, this new object # will take a PK of 1 (on Postgres), and the save will fail. # This is a regression test for ticket #3790. ->>> animal = Animal(name='Platypus', latin_name='Ornithorhynchus anatinus', count=2, weight=2.3) +>>> animal = Animal(name='Platypus', latin_name='Ornithorhynchus anatinus', count=2, weight=2.2) >>> animal.save() ############################################### @@ -176,7 +176,7 @@ Weight = 1.2 (<type 'float'>) # Regression for #11286 -- Ensure that dumpdata honors the default manager # Dump the current contents of the database as a JSON fixture >>> management.call_command('dumpdata', 'fixtures_regress.animal', format='json') -[{"pk": 1, "model": "fixtures_regress.animal", "fields": {"count": 3, "weight": 1.2, "name": "Lion", "latin_name": "Panthera leo"}}, {"pk": 2, "model": "fixtures_regress.animal", "fields": {"count": 2, "weight": 2.29..., "name": "Platypus", "latin_name": "Ornithorhynchus anatinus"}}, {"pk": 10, "model": "fixtures_regress.animal", "fields": {"count": 42, "weight": 1.2, "name": "Emu", "latin_name": "Dromaius novaehollandiae"}}] +[{"pk": 1, "model": "fixtures_regress.animal", "fields": {"count": 3, "weight": 1.2, "name": "Lion", "latin_name": "Panthera leo"}}, {"pk": 2, "model": "fixtures_regress.animal", "fields": {"count": 2, "weight": 2.2, "name": "Platypus", "latin_name": "Ornithorhynchus anatinus"}}, {"pk": 10, "model": "fixtures_regress.animal", "fields": {"count": 42, "weight": 1.2, "name": "Emu", "latin_name": "Dromaius novaehollandiae"}}] ############################################### # Regression for #11428 - Proxy models aren't included |
