We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d38f43 commit 11b2974Copy full SHA for 11b2974
src/ChainRulesTestUtils.jl
@@ -23,6 +23,8 @@ function __init__()
23
# Try to disable backtrace scrubbing so that full failures are shown
24
try
25
isdefined(Test, :scrub_backtrace) || error("Test.scrub_backtrace not defined")
26
+ # depending on julia version or one or the other of these will be hit
27
+ @eval Test scrub_backtrace(bt,) = bt # make it do nothing
28
@eval Test scrub_backtrace(bt, file_ts, file_t) = bt # make it do nothing
29
catch err
30
@warn "Failed to monkey=patch scrub_backtrace. Code is functional but stacktraces may be less useful" exception=(err, catch_backtrace())
0 commit comments