diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-09-28 16:18:13 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-09-28 16:18:13 +0000 |
| commit | e3c69c7c7dc09cf39e578e1df4b106745d02f48f (patch) | |
| tree | cf469cf0ac1d85718ecf5182052df46734d74c5a /repoze/bfg/tests/test_template.py | |
| parent | 85fd25e371b381ad4e76738e8f672261a9d66d75 (diff) | |
| download | pyramid-e3c69c7c7dc09cf39e578e1df4b106745d02f48f.tar.gz pyramid-e3c69c7c7dc09cf39e578e1df4b106745d02f48f.tar.bz2 pyramid-e3c69c7c7dc09cf39e578e1df4b106745d02f48f.zip | |
- A deprecation warning is now issued when old API names from the
``repoze.bfg.templates`` module are imported.
Diffstat (limited to 'repoze/bfg/tests/test_template.py')
| -rw-r--r-- | repoze/bfg/tests/test_template.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/repoze/bfg/tests/test_template.py b/repoze/bfg/tests/test_template.py index 42baa6492..f66d045cd 100644 --- a/repoze/bfg/tests/test_template.py +++ b/repoze/bfg/tests/test_template.py @@ -4,9 +4,13 @@ from zope.component.testing import PlacelessSetup class Base(PlacelessSetup): def setUp(self): + from zope.deprecation import __show__ + __show__.off() PlacelessSetup.setUp(self) def tearDown(self): + from zope.deprecation import __show__ + __show__.on() PlacelessSetup.tearDown(self) def _zcmlConfigure(self): |
