Skip to content

Bump version 0.1.18 - #66

Closed
abhro wants to merge 1 commit into
JuliaMath:masterfrom
abhro:patch-2
Closed

abhro wants to merge 1 commit into
JuliaMath:masterfrom
abhro:patch-2

Conversation

@abhro

@abhro abhro commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.48%. Comparing base (f6240c1) to head (cfe83f1).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files           6        6           
  Lines         132      132           
=======================================
  Hits          130      130           
  Misses          2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@abhro
abhro deleted the patch-2 branch October 19, 2026 16:08
abhro pushed a commit to abhro/InverseFunctions.jl that referenced this pull request Oct 19, 2026
**Fix the extension name in the error hint.** The guard queried
`:InverseFunctionsTest`, but the extension is registered as
`InverseFunctionsTestExt`. `Base.get_extension` returns `nothing` for an
unknown name rather than erroring, so the guard was permanently true and
"Did you forget to load Test?" was appended to *every* `test_inverse`
`MethodError` — including ones raised while `Test` is loaded.

Tests cover both directions: with `Test` loaded, a wrong-arity
`MethodError` carries no hint; without `Test` (checked in a subprocess,
since `Test` can't be unloaded), the hint is shown and
`hasmethod(test_inverse, Tuple{Any,Any})` is `false`. Tests pass on
Julia 1.6, 1.10, 1.11 and 1.13.

An earlier version of this PR also removed `__init__` to save load time.
That cost turned out to be a `@time_imports` measurement artifact (see
the discussion below), so `__init__` and the error hint stay.

Closes JuliaMath#66 (version bumped to 0.1.18 here).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant