Skip to content

Commit c9f9664

Browse files
committed
Merge branch 'features' into master
The features branch is no more. Development of features is now also done on master. See #6571.
2 parents aa4d80c + 4209ad6 commit c9f9664

File tree

103 files changed

+2284
-891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+2284
-891
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ repos:
5353
- id: changelogs-rst
5454
name: changelog filenames
5555
language: fail
56-
entry: 'changelog files must be named ####.(feature|bugfix|doc|deprecation|removal|vendor|trivial).rst'
57-
exclude: changelog/(\d+\.(feature|improvement|bugfix|doc|deprecation|removal|vendor|trivial).rst|README.rst|_template.rst)
56+
entry: 'changelog files must be named ####.(breaking|bugfix|deprecation|doc|feature|improvement|trivial|vendor).rst'
57+
exclude: changelog/(\d+\.(breaking|bugfix|deprecation|doc|feature|improvement|trivial|vendor).rst|README.rst|_template.rst)
5858
files: ^changelog/
5959
- id: py-deprecated
6060
name: py library is deprecated

AUTHORS

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,21 @@ Carl Friedrich Bolz
5252
Carlos Jenkins
5353
Ceridwen
5454
Charles Cloud
55+
Charles Machalow
5556
Charnjit SiNGH (CCSJ)
5657
Chris Lamb
5758
Christian Boelsen
5859
Christian Fetzer
5960
Christian Neumüller
6061
Christian Theunert
6162
Christian Tismer
62-
Christopher Gilling
63+
Christoph Buelter
6364
Christopher Dignam
65+
Christopher Gilling
6466
Claudio Madotto
6567
CrazyMerlyn
6668
Cyrus Maden
6769
Damian Skrzypczak
68-
Dhiren Serai
6970
Daniel Grana
7071
Daniel Hahler
7172
Daniel Nuri
@@ -80,6 +81,7 @@ David Szotten
8081
David Vierra
8182
Daw-Ran Liou
8283
Denis Kirisov
84+
Dhiren Serai
8385
Diego Russo
8486
Dmitry Dygalo
8587
Dmitry Pribysh
@@ -121,6 +123,7 @@ Ilya Konstantinov
121123
Ionuț Turturică
122124
Iwan Briquemont
123125
Jaap Broekhuizen
126+
Jakub Mitoraj
124127
Jan Balster
125128
Janne Vanhala
126129
Jason R. Coombs
@@ -207,8 +210,10 @@ Omer Hadari
207210
Ondřej Súkup
208211
Oscar Benjamin
209212
Patrick Hayes
213+
Pauli Virtanen
210214
Paweł Adamczak
211215
Pedro Algarvio
216+
Philipp Loose
212217
Pieter Mulder
213218
Piotr Banaszkiewicz
214219
Pulkit Goyal
@@ -269,6 +274,7 @@ Vidar T. Fauske
269274
Virgil Dupras
270275
Vitaly Lashmanov
271276
Vlad Dragos
277+
Vladyslav Rachek
272278
Volodymyr Piskun
273279
Wei Lin
274280
Wil Cooley

changelog/1857.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``pytest.mark.parametrize`` accepts integers for ``ids`` again, converting it to strings.

changelog/3238.deprecation.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Option ``--no-print-logs`` is deprecated and meant to be removed in a future release. If you use ``--no-print-logs``, please try out ``--show-capture`` and
2+
provide feedback.
3+
4+
``--show-capture`` command-line option was added in ``pytest 3.5.0`` and allows to specify how to
5+
display captured output when tests fail: ``no``, ``stdout``, ``stderr``, ``log`` or ``all`` (the default).

changelog/3823.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``--trace`` now works with unittests.

changelog/4445.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed some warning reports produced by pytest to point to the correct location of the warning in the user's code.

changelog/449.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use "yellow" main color with any XPASSED tests.

changelog/4597.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
New :ref:`--capture=tee-sys <capture-method>` option to allow both live printing and capturing of test output.

changelog/4639.improvement.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Revert "A warning is now issued when assertions are made for ``None``".
2+
3+
The warning proved to be less useful than initially expected and had quite a
4+
few false positive cases.

changelog/5686.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``tmpdir_factory.mktemp`` now fails when given absolute and non-normalized paths.

changelog/5712.feature.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Now all arguments to ``@pytest.mark.parametrize`` need to be explicitly declared in the function signature or via ``indirect``.
2+
Previously it was possible to omit an argument if a fixture with the same name existed, which was just an accident of implementation and was not meant to be a part of the API.

changelog/5928.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Report ``PytestUnknownMarkWarning`` at the level of the user's code, not ``pytest``'s.

changelog/5975.deprecation.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Deprecate using direct constructors for ``Nodes``.
2+
3+
Instead they are new constructed via ``Node.from_parent``.
4+
5+
This transitional mechanism enables us to detangle the very intensely
6+
entangled ``Node`` relationships by enforcing more controlled creation/configruation patterns.
7+
8+
As part of that session/config are already disallowed parameters and as we work on the details we might need disallow a few more as well.
9+
10+
Subclasses are expected to use `super().from_parent` if they intend to expand the creation of `Nodes`.

changelog/5984.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The ``pytest_warning_captured`` hook now receives a ``location`` parameter with the code location that generated the warning.

changelog/5991.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix interaction with ``--pdb`` and unittests: do not use unittest's ``TestCase.debug()``.

changelog/6213.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytester: the ``testdir`` fixture respects environment settings from the ``monkeypatch`` fixture for inner runs.

changelog/6247.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``--fulltrace`` is honored with collection errors.

changelog/6316.breaking.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Matching of ``-k EXPRESSION`` to test names is now case-insensitive.

changelog/6334.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix summary entries appearing twice when ``f/F`` and ``s/S`` report chars were used at the same time in the ``-r`` command-line option (for example ``-rFf``).
2+
3+
The upper case variants were never documented and the preferred form should be the lower case.

changelog/6384.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make `--showlocals` work also with `--tb=short`.

changelog/6404.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove usage of ``parser`` module, deprecated in Python 3.9.

changelog/6443.breaking.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Plugins specified with ``-p`` are now loaded after internal plugins, which results in their hooks being called *before* the internal ones.
2+
3+
This makes the ``-p`` behavior consistent with ``PYTEST_PLUGINS``.

changelog/6454.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
`--disable-warnings` is honored with `-ra` and `-rA`.

changelog/6454.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Changed default for `-r` to `fE`, which displays failures and errors in the :ref:`short test summary <pytest.detailed_failed_tests_usage>`. `-rN` can be used to disable it (the old behavior).

changelog/6469.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
New options have been added to the :confval:`junit_logging` option: ``log``, ``out-err``, and ``all``.

changelog/6597.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix node ids which contain a parametrized empty-string variable.

changelog/6637.breaking.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Removed the long-deprecated ``pytest_itemstart`` hook.
2+
3+
This hook has been marked as deprecated and not been even called by pytest for over 10 years now.

changelog/6653.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add support for matching lines consecutively with :attr:`LineMatcher <_pytest.pytester.LineMatcher>`'s :func:`~_pytest.pytester.LineMatcher.fnmatch_lines` and :func:`~_pytest.pytester.LineMatcher.re_match_lines`.

changelog/6658.improvement.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Code is now highlighted in tracebacks when ``pygments`` is installed.
2+
3+
Users are encouraged to install ``pygments`` into their environment and provide feedback, because
4+
the plan is to make ``pygments`` a regular dependency in the future.

changelog/759.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``pytest.mark.parametrize`` supports iterators and generators for ``ids``.

changelog/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Each file should be named like ``<ISSUE>.<TYPE>.rst``, where
1818
* ``bugfix``: fixes a bug.
1919
* ``doc``: documentation improvement, like rewording an entire session or adding missing docs.
2020
* ``deprecation``: feature deprecation.
21-
* ``removal``: feature removal.
21+
* ``breaking``: a change which may break existing suites, such as feature removal or behavior change.
2222
* ``vendor``: changes in packages vendored in pytest.
2323
* ``trivial``: fixing a small typo or internal change that might be noteworthy.
2424

doc/en/backwards-compatibility.rst

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,61 @@
33
Backwards Compatibility Policy
44
==============================
55

6+
.. versionadded: 6.0
7+
8+
pytest is actively evolving and is a project that has been decades in the making,
9+
we keep learning about new and better structures to express different details about testing.
10+
11+
While we implement those modifications we try to ensure an easy transition and don't want to impose unnecessary churn on our users and community/plugin authors.
12+
13+
As of now, pytest considers multipe types of backward compatibility transitions:
14+
15+
a) trivial: APIs which trivially translate to the new mechanism,
16+
and do not cause problematic changes.
17+
18+
We try to support those indefinitely while encouraging users to switch to newer/better mechanisms through documentation.
19+
20+
b) transitional: the old and new API don't conflict
21+
and we can help users transition by using warnings, while supporting both for a prolonged time.
22+
23+
We will only start the removal of deprecated functionality in major releases (e.g. if we deprecate something in 3.0 we will start to remove it in 4.0), and keep it around for at least two minor releases (e.g. if we deprecate something in 3.9 and 4.0 is the next release, we start to remove it in 5.0, not in 4.0).
24+
25+
When the deprecation expires (e.g. 4.0 is released), we won't remove the deprecated functionality immediately, but will use the standard warning filters to turn them into **errors** by default. This approach makes it explicit that removal is imminent, and still gives you time to turn the deprecated feature into a warning instead of an error so it can be dealt with in your own time. In the next minor release (e.g. 4.1), the feature will be effectively removed.
26+
27+
28+
c) true breakage: should only to be considered when normal transition is unreasonably unsustainable and would offset important development/features by years.
29+
In addition, they should be limited to APIs where the number of actual users is very small (for example only impacting some plugins), and can be coordinated with the community in advance.
30+
31+
Examples for such upcoming changes:
32+
33+
* removal of ``pytest_runtest_protocol/nextitem`` - `#895`_
34+
* rearranging of the node tree to include ``FunctionDefinition``
35+
* rearranging of ``SetupState`` `#895`_
36+
37+
True breakages must be announced first in an issue containing:
38+
39+
* Detailed description of the change
40+
* Rationale
41+
* Expected impact on users and plugin authors (example in `#895`_)
42+
43+
After there's no hard *-1* on the issue it should be followed up by an initial proof-of-concept Pull Request.
44+
45+
This POC serves as both a coordination point to assess impact and potential inspriation to come up with a transitional solution after all.
46+
47+
After a reasonable amount of time the PR can be merged to base a new major release.
48+
49+
For the PR to mature from POC to acceptance, it must contain:
50+
* Setup of deprecation errors/warnings that help users fix and port their code. If it is possible to introduce a deprecation period under the current series, before the true breakage, it should be introduced in a separate PR and be part of the current release stream.
51+
* Detailed description of the rationale and examples on how to port code in ``doc/en/deprecations.rst``.
52+
53+
54+
History
55+
=========
56+
57+
58+
Focus primary on smooth transition - stance (pre 6.0)
59+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60+
661
Keeping backwards compatibility has a very high priority in the pytest project. Although we have deprecated functionality over the years, most of it is still supported. All deprecations in pytest were done because simpler or more efficient ways of accomplishing the same tasks have emerged, making the old way of doing things unnecessary.
762

863
With the pytest 3.0 release we introduced a clear communication scheme for when we will actually remove the old busted joint and politely ask you to use the new hotness instead, while giving you enough time to adjust your tests or raise concerns if there are valid reasons to keep deprecated functionality around.
@@ -20,3 +75,6 @@ Deprecation Roadmap
2075
Features currently deprecated and removed in previous releases can be found in :ref:`deprecations`.
2176

2277
We track future deprecation and removal of features using milestones and the `deprecation <https://github.com/pytest-dev/pytest/issues?q=label%3A%22type%3A+deprecation%22>`_ and `removal <https://github.com/pytest-dev/pytest/labels/type%3A%20removal>`_ labels on GitHub.
78+
79+
80+
.. _`#895`: https://github.com/pytest-dev/pytest/issues/895

doc/en/capture.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,36 @@ file descriptors. This allows to capture output from simple
2121
print statements as well as output from a subprocess started by
2222
a test.
2323

24+
.. _capture-method:
25+
2426
Setting capturing methods or disabling capturing
2527
-------------------------------------------------
2628

27-
There are two ways in which ``pytest`` can perform capturing:
29+
There are three ways in which ``pytest`` can perform capturing:
2830

29-
* file descriptor (FD) level capturing (default): All writes going to the
31+
* ``fd`` (file descriptor) level capturing (default): All writes going to the
3032
operating system file descriptors 1 and 2 will be captured.
3133

3234
* ``sys`` level capturing: Only writes to Python files ``sys.stdout``
3335
and ``sys.stderr`` will be captured. No capturing of writes to
3436
filedescriptors is performed.
3537

38+
* ``tee-sys`` capturing: Python writes to ``sys.stdout`` and ``sys.stderr``
39+
will be captured, however the writes will also be passed-through to
40+
the actual ``sys.stdout`` and ``sys.stderr``. This allows output to be
41+
'live printed' and captured for plugin use, such as junitxml (new in pytest 5.4).
42+
3643
.. _`disable capturing`:
3744

3845
You can influence output capturing mechanisms from the command line:
3946

4047
.. code-block:: bash
4148
42-
pytest -s # disable all capturing
43-
pytest --capture=sys # replace sys.stdout/stderr with in-mem files
44-
pytest --capture=fd # also point filedescriptors 1 and 2 to temp file
49+
pytest -s # disable all capturing
50+
pytest --capture=sys # replace sys.stdout/stderr with in-mem files
51+
pytest --capture=fd # also point filedescriptors 1 and 2 to temp file
52+
pytest --capture=tee-sys # combines 'sys' and '-s', capturing sys.stdout/stderr
53+
# and passing it along to the actual sys.stdout/stderr
4554
4655
.. _printdebugging:
4756

doc/en/deprecations.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,30 @@ Below is a complete list of all pytest features which are considered deprecated.
1919
:class:`_pytest.warning_types.PytestWarning` or subclasses, which can be filtered using
2020
:ref:`standard warning filters <warnings>`.
2121

22+
23+
``--no-print-logs`` command-line option
24+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25+
26+
.. deprecated:: 5.4
27+
28+
29+
Option ``--no-print-logs`` is deprecated and meant to be removed in a future release. If you use ``--no-print-logs``, please try out ``--show-capture`` and
30+
provide feedback.
31+
32+
``--show-capture`` command-line option was added in ``pytest 3.5.0` and allows to specify how to
33+
display captured output when tests fail: ``no``, ``stdout``, ``stderr``, ``log`` or ``all`` (the default).
34+
35+
36+
37+
Node Construction changed to ``Node.from_parent``
38+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39+
40+
.. deprecated:: 5.3
41+
42+
The construction of nodes new should use the named constructor ``from_parent``.
43+
This limitation in api surface intends to enable better/simpler refactoring of the collection tree.
44+
45+
2246
``junit_family`` default value change to "xunit2"
2347
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2448

doc/en/example/markers.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ which implements a substring match on the test names instead of the
148148
exact match on markers that ``-m`` provides. This makes it easy to
149149
select tests based on their names:
150150

151+
.. versionadded: 5.4
152+
153+
The expression matching is now case-insensitive.
154+
151155
.. code-block:: pytest
152156
153157
$ pytest -v -k http # running with the above defined example module

doc/en/example/nonpython/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def pytest_collect_file(parent, path):
66
if path.ext == ".yaml" and path.basename.startswith("test"):
7-
return YamlFile(path, parent)
7+
return YamlFile.from_parent(parent, fspath=path)
88

99

1010
class YamlFile(pytest.File):
@@ -13,7 +13,7 @@ def collect(self):
1313

1414
raw = yaml.safe_load(self.fspath.open())
1515
for name, spec in sorted(raw.items()):
16-
yield YamlItem(name, self, spec)
16+
yield YamlItem.from_parent(self, name=name, spec=spec)
1717

1818

1919
class YamlItem(pytest.Item):

doc/en/example/parametrize.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,9 @@ The result of this test will be successful:
398398
399399
.. regendoc:wipe
400400
401+
Note, that each argument in `parametrize` list should be explicitly declared in corresponding
402+
python test function or via `indirect`.
403+
401404
Parametrizing test methods through per-class configuration
402405
--------------------------------------------------------------
403406

doc/en/pythonpath.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ This is also discussed in details in :ref:`test discovery`.
7777
Invoking ``pytest`` versus ``python -m pytest``
7878
-----------------------------------------------
7979

80-
Running pytest with ``python -m pytest [...]`` instead of ``pytest [...]`` yields nearly
81-
equivalent behaviour, except that the former call will add the current directory to ``sys.path``.
80+
Running pytest with ``pytest [...]`` instead of ``python -m pytest [...]`` yields nearly
81+
equivalent behaviour, except that the latter will add the current directory to ``sys.path``, which
82+
is standard ``python`` behavior.
83+
8284
See also :ref:`cmdline`.

doc/en/reference.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ ExceptionInfo
738738
pytest.ExitCode
739739
~~~~~~~~~~~~~~~
740740

741-
.. autoclass:: _pytest.main.ExitCode
741+
.. autoclass:: _pytest.config.ExitCode
742742
:members:
743743

744744

@@ -1164,9 +1164,17 @@ passed multiple times. The expected format is ``name=value``. For example::
11641164
.. confval:: junit_logging
11651165

11661166
.. versionadded:: 3.5
1167+
.. versionchanged:: 5.4
1168+
``log``, ``all``, ``out-err`` options added.
11671169

1168-
Configures if stdout/stderr should be written to the JUnit XML file. Valid values are
1169-
``system-out``, ``system-err``, and ``no`` (the default).
1170+
Configures if captured output should be written to the JUnit XML file. Valid values are:
1171+
1172+
* ``log``: write only ``logging`` captured output.
1173+
* ``system-out``: write captured ``stdout`` contents.
1174+
* ``system-err``: write captured ``stderr`` contents.
1175+
* ``out-err``: write both captured ``stdout`` and ``stderr`` contents.
1176+
* ``all``: write captured ``logging``, ``stdout`` and ``stderr`` contents.
1177+
* ``no`` (the default): no captured output is written.
11701178

11711179
.. code-block:: ini
11721180

doc/en/unittest.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -238,17 +238,6 @@ was executed ahead of the ``test_method``.
238238

239239
.. _pdb-unittest-note:
240240

241-
.. note::
242-
243-
Running tests from ``unittest.TestCase`` subclasses with ``--pdb`` will
244-
disable tearDown and cleanup methods for the case that an Exception
245-
occurs. This allows proper post mortem debugging for all applications
246-
which have significant logic in their tearDown machinery. However,
247-
supporting this feature has the following side effect: If people
248-
overwrite ``unittest.TestCase`` ``__call__`` or ``run``, they need to
249-
to overwrite ``debug`` in the same way (this is also true for standard
250-
unittest).
251-
252241
.. note::
253242

254243
Due to architectural differences between the two frameworks, setup and

0 commit comments

Comments
 (0)