summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/overview.txt6
-rw-r--r--docs/topics/testing/tools.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
index 245ee07079..5687e07e2e 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -177,9 +177,9 @@ control the particular collation used by the test database. See the
:doc:`settings documentation </ref/settings>` for details of these
and other advanced settings.
-If using an SQLite in-memory database with Python 3.4+ and SQLite 3.7.13+,
-`shared cache <https://www.sqlite.org/sharedcache.html>`_ will be enabled, so
-you can write tests with ability to share the database between threads.
+If using an SQLite in-memory database with SQLite 3.7.13+, `shared cache
+<https://www.sqlite.org/sharedcache.html>`_ is enabled, so you can write tests
+with ability to share the database between threads.
.. admonition:: Finding data from your production database when running tests?
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index b8c799619e..91f9690827 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -1708,9 +1708,9 @@ Management commands can be tested with the
:func:`~django.core.management.call_command` function. The output can be
redirected into a ``StringIO`` instance::
+ from io import StringIO
from django.core.management import call_command
from django.test import TestCase
- from django.utils.six import StringIO
class ClosepollTest(TestCase):
def test_command_output(self):