Skip to content

Commit 1de6077

Browse files
committed
test: ignore julia GC test on pre-1.10
1 parent 4268eca commit 1de6077

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/GC.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
finalize(obj)
66
end
77
end
8-
Threads.nthreads() > 1 && @test !isempty(PythonCall.GC.QUEUE.items)
8+
Threads.nthreads() > 1 &&
9+
VERSION >= v"1.10.0-" &&
10+
@test !isempty(PythonCall.GC.QUEUE.items)
911
PythonCall.GC.gc()
1012
@test isempty(PythonCall.GC.QUEUE.items)
1113
end
@@ -17,7 +19,9 @@ end
1719
finalize(obj)
1820
end
1921
end
20-
Threads.nthreads() > 1 && @test !isempty(PythonCall.GC.QUEUE.items)
22+
Threads.nthreads() > 1 &&
23+
VERSION >= v"1.10.0-" &&
24+
@test !isempty(PythonCall.GC.QUEUE.items)
2125
GC.gc()
2226
@test isempty(PythonCall.GC.QUEUE.items)
2327
end

0 commit comments

Comments
 (0)