File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -171,10 +171,6 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
171171 invgrep -R --include=" *.py" --include=" *.pyx" --include=" *.rst" -E " \.\. (autosummary|contents|currentmodule|deprecated|function|image|important|include|ipython|literalinclude|math|module|note|raw|seealso|toctree|versionadded|versionchanged|warning):[^:]" ./pandas ./doc/source
172172 RET=$(( $RET + $? )) ; echo $MSG " DONE"
173173
174- MSG=' Check that the deprecated `assert_raises_regex` is not used (`pytest.raises(match=pattern)` should be used instead)' ; echo $MSG
175- invgrep -R --exclude=* .pyc --exclude=testing.py --exclude=test_util.py assert_raises_regex pandas
176- RET=$(( $RET + $? )) ; echo $MSG " DONE"
177-
178174 # Check for the following code in testing: `unittest.mock`, `mock.Mock()` or `mock.patch`
179175 MSG=' Check that unittest.mock is not used (pytest builtin monkeypatch fixture should be used instead)' ; echo $MSG
180176 invgrep -r -E --include ' *.py' ' (unittest(\.| import )mock|mock\.Mock\(\)|mock\.patch)' pandas/tests/
Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more.
255255- Removed the previously deprecated ``IntervalIndex.from_intervals `` in favor of the :class: `IntervalIndex ` constructor (:issue: `19263 `)
256256- Ability to read pickles containing :class: `Categorical ` instances created with pre-0.16 version of pandas has been removed (:issue: `27538 `)
257257- Removed the previously deprecated ``reduce `` and ``broadcast `` arguments from :meth: `DataFrame.apply ` (:issue: `18577 `)
258+ - Removed the previously deprecated ``assert_raises_regex `` function in ``pandas.util.testing `` (:issue: `29174 `)
258259-
259260
260261.. _whatsnew_1000.performance :
You can’t perform that action at this time.
0 commit comments