-
-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
Base.depwarn()
exclusively, and fix deprecation tests (#4333)
* Use `Base.depwarn()` exclusively, and fix deprecation tests A few changes: - Use `Base.depwarn()` instead of `Base.@deprecate_binding` to avoid warnings when importing symbols. - Pass the missing `funcsym` argument to `Base.depwarn()` in `Combined()`. - Fix the deprecation tests. Most of them were actually getting skipped because `@depwarn_message` had a `return` statement, causing the entire testset to return early as soon as the passed expression was evaluated. * fixup! Use `Base.depwarn()` exclusively, and fix deprecation tests
- Loading branch information
1 parent
65a7181
commit b971fbb
Showing
2 changed files
with
21 additions
and
16 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