summaryrefslogtreecommitdiff
path: root/docs/narr/testing.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2017-07-12 20:06:48 -0500
committerGitHub <noreply@github.com>2017-07-12 20:06:48 -0500
commitd45f41f7423ef9064b827ef4d4d72bd41fd875f9 (patch)
treeb348ca6562eb1c80ea1baacdc0481ee6e95731b7 /docs/narr/testing.rst
parentb8658e94f00962a78e3f8a4c97dd4fbc9e440a31 (diff)
parent0958d268b4b5451c615e05b2b4657d2afb5a7cd4 (diff)
downloadpyramid-d45f41f7423ef9064b827ef4d4d72bd41fd875f9.tar.gz
pyramid-d45f41f7423ef9064b827ef4d4d72bd41fd875f9.tar.bz2
pyramid-d45f41f7423ef9064b827ef4d4d72bd41fd875f9.zip
Merge pull request #3119 from stevepiercy/docs-context-manager
Update docs to use a Configurator context manager
Diffstat (limited to 'docs/narr/testing.rst')
-rw-r--r--docs/narr/testing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst
index f124ac562..594badcb6 100644
--- a/docs/narr/testing.rst
+++ b/docs/narr/testing.rst
@@ -158,7 +158,7 @@ Test setup using a context manager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An alternative style of setting up a test configuration is to use the ``with``
-statement and :func:`pyramid.testing.testConfig` to create a context manager.
+statement and :func:`pyramid.testing.testConfig` to create a :term:`context manager`.
The context manager will call :func:`pyramid.testing.setUp` before the code
under test and :func:`pyramid.testing.tearDown` afterwards.