Skip to content

Commit ee08389

Browse files
authored
Don't use JET in tests (#376)
1 parent 3ccbe7a commit ee08389

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

Project.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Aqua = "0.8"
1212
ArrayLayouts = "1.0.8"
1313
Documenter = "1"
1414
FillArrays = "1"
15-
JET = "0.4, 0.6, 0.7, 0.8"
1615
LinearAlgebra = "1.6"
1716
OffsetArrays = "1"
1817
Random = "1.6"
@@ -24,12 +23,11 @@ julia = "1.6"
2423
[extras]
2524
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2625
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
27-
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
2826
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
2927
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
3028
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
3129
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
3230
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3331

3432
[targets]
35-
test = ["Aqua", "Documenter", "JET", "OffsetArrays", "SparseArrays", "StaticArrays", "Test", "Random"]
33+
test = ["Aqua", "Documenter", "OffsetArrays", "SparseArrays", "StaticArrays", "Test", "Random"]

test/test_blockbroadcast.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using BlockArrays, FillArrays, Test
22
import BlockArrays: SubBlockIterator, BlockIndexRange, Diagonal
3-
using JET
43

54
@testset "broadcast" begin
65
@testset "BlockArray" begin
@@ -30,17 +29,11 @@ using JET
3029
u = BlockArray(randn(5), [2,3])
3130
dest = zeros(size(u)..., 1)
3231
@test (dest .= u) isa typeof(dest)
33-
@static if isdefined(JET, :test_opt)
34-
@test_opt ((dest,u) -> dest .= u)(dest,u)
35-
end
3632
@test reshape(dest, size(u)) == u
3733

3834
u = BlockArray(randn(3,3), [1,2], [1,2])
3935
dest = zeros(length(u))
4036
@test (dest .= u) isa typeof(dest)
41-
@static if isdefined(JET, :test_opt)
42-
@test_opt ((dest,u) -> dest .= u)(dest,u)
43-
end
4437
@test reshape(dest, size(u)) == u
4538
end
4639
end
@@ -202,10 +195,6 @@ using JET
202195
A = zeros(size(u))
203196
@inferred(copyto!(similar(u), Base.broadcasted(exp, u)))
204197
@test exp.(u) == exp.(Vector(u))
205-
# test_opt isn't available on JET v0.4, which is installed on Julia v1.6
206-
@static if isdefined(JET, :test_opt)
207-
@test_opt ((A,B) -> A .= B)(A,u)
208-
end
209198
end
210199

211200
@testset "adjtrans" begin

0 commit comments

Comments
 (0)