summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2011-01-16 14:17:01 -0700
committerCasey Duncan <casey.duncan@gmail.com>2011-01-16 14:17:01 -0700
commit5c2dbda08499dcf2ddfc18e86bcc20253666b863 (patch)
tree8d57a78fae1a47d3519ddd051cccf291683a9dd2 /docs/narr
parent0c4058fa1549d145e28a870a42d312770a597c9a (diff)
downloadpyramid-5c2dbda08499dcf2ddfc18e86bcc20253666b863.tar.gz
pyramid-5c2dbda08499dcf2ddfc18e86bcc20253666b863.tar.bz2
pyramid-5c2dbda08499dcf2ddfc18e86bcc20253666b863.zip
simplify and shorten long sentence
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/testing.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst
index 5aa752557..a6c125951 100644
--- a/docs/narr/testing.rst
+++ b/docs/narr/testing.rst
@@ -118,11 +118,10 @@ of using this feature:
testing.tearDown()
The above will make sure that
-:func:`pyramid.threadlocal.get_current_registry` will return the
-:term:`application registry` associated with the ``config`` Configurator
-instance when :func:`pyramid.threadlocal.get_current_registry` is called in a
-test case method attached to ``MyTest``. Each test case method attached to
-``MyTest`` will use an isolated registry.
+:func:`pyramid.threadlocal.get_current_registry` called within a test
+case method of ``MyTest`` will return the :term:`application registry`
+associated with the ``config`` Configurator instance. Each test case
+method attached to ``MyTest`` will use an isolated registry.
The :func:`~pyramid.testing.setUp` and :func:`~pyramid.testing.tearDown`
functions accepts various arguments that influence the environment of the