| | |
| | | Future |
| | | ------ |
| | | |
| | | - 1.5: Remove all deprecated ``pyramid.testing`` functions. |
| | | - 1.5: remove ``pyramid.view.static``. |
| | | |
| | | - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the |
| | | original dict (after ``__getattr__`` deprecation period, it was deprecated |
| | |
| | | class Base: |
| | | def setUp(self): |
| | | self.config = testing.setUp() |
| | | from zope.deprecation import __show__ |
| | | __show__.off() |
| | | |
| | | def tearDown(self): |
| | | testing.tearDown() |
| | | from zope.deprecation import __show__ |
| | | __show__.on() |
| | | |
| | | def _getTemplatePath(self, name): |
| | | import os |
| | |
| | | class Base(object): |
| | | def setUp(self): |
| | | self.config = testing.setUp() |
| | | from zope.deprecation import __show__ |
| | | __show__.off() |
| | | |
| | | def tearDown(self): |
| | | testing.tearDown() |
| | | from zope.deprecation import __show__ |
| | | __show__.on() |
| | | |
| | | def _getTemplatePath(self, name): |
| | | import os |