From 5211f48ae3cc0d87a260dbf5c3ab8bdae664c4b6 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 4 May 2010 14:00:30 +0000 Subject: Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds. Thanks to timo and claudep for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13094 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/forms/fields.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/regressiontests/forms/fields.py') diff --git a/tests/regressiontests/forms/fields.py b/tests/regressiontests/forms/fields.py index eb85a05d21..990a9f74cf 100644 --- a/tests/regressiontests/forms/fields.py +++ b/tests/regressiontests/forms/fields.py @@ -28,6 +28,7 @@ import datetime import time import re import os +from decimal import Decimal from unittest import TestCase @@ -35,11 +36,6 @@ from django.core.files.uploadedfile import SimpleUploadedFile from django.forms import * from django.forms.widgets import RadioFieldRenderer -try: - from decimal import Decimal -except ImportError: - from django.utils._decimal import Decimal - def fix_os_paths(x): if isinstance(x, basestring): -- cgit v1.3