We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef81ce3 commit c91dd85Copy full SHA for c91dd85
2 files changed
CHANGES.rst
@@ -7,6 +7,9 @@
7
8
- Add support for Python 3.15.
9
10
+- Deprecate ``zope.testing.doctestcase`` in favour of plain ``doctest``
11
+ (e.g. ``doctest.DocTestSuite`` or ``doctest.DocFileSuite``).
12
+
13
- Move package metadata from setup.py to pyproject.toml.
14
15
src/zope/testing/doctestcase.py
@@ -9,6 +9,15 @@
import sys
import types
import unittest
+import warnings
+warnings.warn(
16
+ 'zope.testing.doctestcase is deprecated and will be removed in a '
17
+ 'future release. Use plain doctest (e.g. doctest.DocTestSuite or '
18
+ 'doctest.DocFileSuite) instead.',
19
+ DeprecationWarning,
20
+ stacklevel=2)
21
22
23
__all__ = [
0 commit comments