diff options
| author | Ben Konrath | 2012-10-11 14:19:29 +0200 |
|---|---|---|
| committer | Ben Konrath | 2012-10-11 14:19:29 +0200 |
| commit | 1d054f95725e5bec7d4ba9d23717897ef80b7388 (patch) | |
| tree | 122b9143e8dd3f24645ee6fd39a89fef404f5fe6 /rest_framework/tests/pagination.py | |
| parent | 6f736a682369e003e4ae4b8d587f9168d4196986 (diff) | |
| download | django-rest-framework-1d054f95725e5bec7d4ba9d23717897ef80b7388.tar.bz2 | |
Use Decimal (properly) everywhere.
Diffstat (limited to 'rest_framework/tests/pagination.py')
| -rw-r--r-- | rest_framework/tests/pagination.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/pagination.py b/rest_framework/tests/pagination.py index 8c5e6ad7..170515a7 100644 --- a/rest_framework/tests/pagination.py +++ b/rest_framework/tests/pagination.py @@ -84,7 +84,7 @@ class IntegrationTestPaginationAndFiltering(TestCase): """ Create 50 FilterableItem instances. """ - base_data = ('a', Decimal(0.25), datetime.date(2012, 10, 8)) + base_data = ('a', Decimal('0.25'), datetime.date(2012, 10, 8)) for i in range(26): text = chr(i + ord(base_data[0])) * 3 # Produces string 'aaa', 'bbb', etc. decimal = base_data[1] + i |
