File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,17 @@ export ⊢, rand_tangent
1717export @maybe_inferred
1818export test_method_tables
1919
20- __init__ () = init_test_inferred_setting! ()
20+ function __init__ ()
21+ init_test_inferred_setting! ()
22+
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+ @eval Test scrub_backtrace (bt, file_ts, file_t) = bt # make it do nothing
27+ catch err
28+ @warn " Failed to monkey=patch scrub_backtrace. Code is functional but stacktraces may be less useful" exception= (err, catch_backtrace ())
29+ end
30+ end
2131
2232include (" global_config.jl" )
2333
@@ -36,3 +46,4 @@ include("testers.jl")
3646include (" deprecated.jl" )
3747include (" global_checks.jl" )
3848end # module
49+
You can’t perform that action at this time.
0 commit comments