diff options
| -rw-r--r-- | pyramid/testing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/testing.py b/pyramid/testing.py index 0c701727b..06b795f9a 100644 --- a/pyramid/testing.py +++ b/pyramid/testing.py @@ -482,9 +482,9 @@ def tearDown(unhook_zca=True): If the ``unhook_zca`` argument is ``True`` (the default), call :func:`zope.component.getSiteManager.reset`. This undoes the - action of :func:`pyramid.testing.setUp` called with the + action of :func:`pyramid.testing.setUp` when called with the argument ``hook_zca=True``. If :mod:`zope.component` cannot be - imported, ignore the argument. + imported, ``unhook_zca`` is set to ``False``. """ global have_zca if unhook_zca and have_zca: |
