doctestsetup
1 parent 0477b15 commit 0019610Copy full SHA for 0019610
1 file changed
test/doctestsetup.jl
@@ -1,3 +1,4 @@
1
+if !isdefined(@__MODULE__, :LOADED_HASH) || LOADED_HASH != hash(readlines(@__FILE__))
2
using TransferFunctions
3
using TransferFunctions: TransferFunctions as TF
4
using TransferFunctions.Apodization
@@ -35,4 +36,10 @@ setup_params!() = @eval begin
35
36
nothing
37
end
38
-return nothing
39
+LOADED_HASH = hash(readlines(@__FILE__))
40
+
41
+return nothing
42
43
+else
44
+ @info "Skipping doctest setup... Same hash"
45
+end
0 commit comments