summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt5
-rw-r--r--docs/whatsnew-1.2.rst9
2 files changed, 8 insertions, 6 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index fbc032d17..7ed2c4c44 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -250,8 +250,9 @@ Backwards Incompatibilites
If replacing all calls to ``zope.testing.cleanup.cleanUp`` with a
call to ``repoze.bfg.testing.setUp`` is infeasible, you can put this
bit of code somewhere that is executed exactly **once** (*not* for
- each test in a test suite; in the `` __init__.py`` of your
- package would be a reasonable place)::
+ each test in a test suite; in the `` __init__.py`` of your package
+ or your package's ``tests`` subpackage would be a reasonable
+ place)::
import zope.testing.cleanup
from repoze.bfg.testing import setUp
diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst
index 9fad73de0..840074cbd 100644
--- a/docs/whatsnew-1.2.rst
+++ b/docs/whatsnew-1.2.rst
@@ -106,10 +106,11 @@ Backwards Incompatibilites
to ``repoze.bfg.testing.setUp``.
If replacing all calls to ``zope.testing.cleanup.cleanUp`` with a
- call to ``repoze.bfg.testing.setUp`` is infeasible, you can put this
- bit of code somewhere that is executed exactly **once** (*not* for
- each test in a test suite; in the `` __init__.py`` of your
- package would be a reasonable place)::
+ call to ``repoze.bfg.testing.setUp`` is infeasible, you can put the
+ below-mentioned bit of code somewhere that is executed exactly
+ **once** (*not* for each test in a test suite). Placing this in the
+ ``__init__.py`` of your package or the ``__init__.py`` of a
+ ``tests`` subpackage would be a reasonable place)::
import zope.testing.cleanup
from repoze.bfg.testing import setUp