File tree 1 file changed +0
-25
lines changed
1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -157,28 +157,3 @@ def decorated_func(func):
157
157
"installed->{installed}" .format (
158
158
enabled = _USE_NUMEXPR ,
159
159
installed = _NUMEXPR_INSTALLED ))
160
-
161
-
162
- def parametrize_fixture_doc (* args ):
163
- """
164
- Intended for use as a decorator for parametrized fixture,
165
- this function will wrap the decorated function with a pytest
166
- ``parametrize_fixture_doc`` mark. That mark will format
167
- initial fixture docstring by replacing placeholders {0}, {1} etc
168
- with parameters passed as arguments.
169
-
170
- Parameters:
171
- ----------
172
- args: iterable
173
- Positional arguments for docstring.
174
-
175
- Returns:
176
- -------
177
- documented_fixture: function
178
- The decorated function wrapped within a pytest
179
- ``parametrize_fixture_doc`` mark
180
- """
181
- def documented_fixture (fixture ):
182
- fixture .__doc__ = fixture .__doc__ .format (* args )
183
- return fixture
184
- return documented_fixture
You can’t perform that action at this time.
0 commit comments