Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't print duplicate deprecation messages.
When a spec suite uses a helper method that is called from a global `before` hook and calls a deprecated method, we only need one deprecation message in our output, not one per spec. Note that this only limits *identical* deprecation messages. The same deprecation from multiple call sites will still each get printed. Fixes #1151 for 2.99.
- Loading branch information
1 parent
ac819ee
commit 952fbbf
Showing
2 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters