summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-09-24 13:25:43 -0400
committerTim Graham <timograham@gmail.com>2015-09-24 13:25:43 -0400
commit8794ded8d6ccc67738b458c36cf13b65083f2297 (patch)
treee1f2517f5ffcc55b87ceb4d1e2f72dee5ab5ed10 /docs/topics/testing
parentbb90e8fa2b1222c6408f4cfacac2c66955f75622 (diff)
[1.8.x] Removed a prominent note about django.utils.unittest deprecation.
It doesn't seem this would be relevant to most readers.
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/overview.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
index bd4216e029..0aca7fb0a4 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -20,20 +20,6 @@ Writing tests
Django's unit tests use a Python standard library module: :mod:`unittest`. This
module defines tests using a class-based approach.
-.. admonition:: unittest2
-
- .. deprecated:: 1.7
-
- Python 2.7 introduced some major changes to the ``unittest`` library,
- adding some extremely useful features. To ensure that every Django project
- could benefit from these new features, Django used to ship with a copy of
- Python 2.7's ``unittest`` backported for Python 2.6 compatibility.
-
- Since Django no longer supports Python versions older than 2.7,
- ``django.utils.unittest`` is deprecated. Simply use ``unittest``.
-
-.. _unittest2: https://pypi.python.org/pypi/unittest2
-
Here is an example which subclasses from :class:`django.test.TestCase`,
which is a subclass of :class:`unittest.TestCase` that runs each test inside a
transaction to provide isolation::