summaryrefslogtreecommitdiff
path: root/django/test/utils.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-10-18 16:08:25 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-10-18 16:08:25 +0000
commit2db34d2307943491f651a8342b35c47699109385 (patch)
tree481b133c70a44b9ca97ede73c48e9b005e80607a /django/test/utils.py
parentf657079c701b56e169142c8b89f9a578972cf11b (diff)
downloaddjango-2db34d2307943491f651a8342b35c47699109385.tar.gz
Fixed an naming problem with r14258. Thanks to Alex for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/test/utils.py')
-rw-r--r--django/test/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/test/utils.py b/django/test/utils.py
index d2649ae96b..063e30297f 100644
--- a/django/test/utils.py
+++ b/django/test/utils.py
@@ -8,9 +8,10 @@ from django.test import signals
from django.template import Template
from django.utils.translation import deactivate
-all = ('Approximate', 'ContextList', 'setup_test_environment',
+__all__ = ('Approximate', 'ContextList', 'setup_test_environment',
'teardown_test_environment', 'get_runner')
+
class Approximate(object):
def __init__(self, val, places=7):
self.val = val