From 69903d7d36c710e709deeef8b6138adc46d32046 Mon Sep 17 00:00:00 2001 From: Sacha Verweij Date: Thu, 11 May 2017 14:05:37 -0700 Subject: [PATCH] Add NEWS.md entry for test_approx_eq[_eps] deprecations (#19901). --- NEWS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NEWS.md b/NEWS.md index 9029abc7acc99..a0d1834bdf8ab 100644 --- a/NEWS.md +++ b/NEWS.md @@ -403,6 +403,14 @@ Deprecated or removed * `broadcast_zpreserving` has been deprecated ([#19533], [#19720]). + * `@test_approx_eq a b` has been deprecated in favor of `@test a ≈ b` (or, + equivalently, `@test ≈(a, b)` or `@test isapprox(a, b)`). + `@test_approx_eq_eps` has been deprecated in favor of new `@test` syntax: + `@test` now supports the syntax `@test f(args...) key=val ...` for + `@test f(args..., key=val...)`. This syntax allows, for example, writing + `@test a ≈ b atol=c` in place of `@test ≈(a, b, atol=c)` (and hence + `@test_approx_eq_eps a b c`) ([#19901]). + * `convert` methods from `Diagonal` and `Bidiagonal` to subtypes of `AbstractTriangular` have been deprecated ([#17723]). @@ -488,6 +496,7 @@ Deprecated or removed [#19802]: https://github.com/JuliaLang/julia/issues/19802 [#19841]: https://github.com/JuliaLang/julia/issues/19841 [#19900]: https://github.com/JuliaLang/julia/issues/19900 +[#19901]: https://github.com/JuliaLang/julia/issues/19901 [#19903]: https://github.com/JuliaLang/julia/issues/19903 [#19919]: https://github.com/JuliaLang/julia/issues/19919 [#19926]: https://github.com/JuliaLang/julia/issues/19926