summaryrefslogtreecommitdiff
path: root/tests/aggregation
diff options
context:
space:
mode:
authorKevin Christopher Henry <k@severian.com>2013-09-09 04:59:47 -0400
committerTim Graham <timograham@gmail.com>2013-09-09 16:03:13 -0400
commit9d700322b38ea670800a97f2b92dd2fc2c6ff28d (patch)
tree03972a5cf4a8b5eeb69909ddacbe33eeae1d2efd /tests/aggregation
parenta52cc1c0888c2cedb07b2c0619c1a92a2f6e2c40 (diff)
Fixed #19885 -- cleaned up the django.test namespace
* override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion.
Diffstat (limited to 'tests/aggregation')
-rw-r--r--tests/aggregation/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py
index ce7f4e9b9d..5abd4aaf6c 100644
--- a/tests/aggregation/tests.py
+++ b/tests/aggregation/tests.py
@@ -6,7 +6,8 @@ import re
from django.db import connection
from django.db.models import Avg, Sum, Count, Max, Min
-from django.test import TestCase, Approximate
+from django.test import TestCase
+from django.test.utils import Approximate
from django.test.utils import CaptureQueriesContext
from .models import Author, Publisher, Book, Store