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 65dc1f5 commit b945b95Copy full SHA for b945b95
doc/src/advanced.rst
@@ -108,3 +108,11 @@ list.
108
109
Other logical combinations of dependencies are conceivable and may be
110
implemented in a similar way, according to the use case at hand.
111
+
112
+.. note::
113
+ The `depends_or()` helper function above is based on pytest
114
+ internals: skipping of tests works by raising an exception and the
115
+ exception class is exposed as :attr:`pytest.skip.Exception`. This
116
+ is not documented in pytest. It has been tested to work for pytest
117
+ versions 3.7.0 through 6.2.5, but it is not guaranteed to be stable
118
+ for future pytest versions.
0 commit comments