File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 77module Test
88
99import LinearAlgebra
10-
1110import MathOptInterface as MOI
1211import MathOptInterface. Utilities as MOIU
1312
@@ -28,14 +27,10 @@ MOI has the problematic feature that MOI.Test.Test is not self-referential,
2827and JET.jl appropriately complains with "invalid redefinition of constant
2928Test."
3029
31- The work-around is to wrap `Test` in a module so that `MOI. Test.Test` is
32- ` MOI.Test`.
30+ The work-around is to pull in only a subset of symbols from ` Test` (and not Test
31+ ifself) so that `MOI.Test.Test === MOI.Test`.
3332=#
34- module _BaseTest
35- import Test: @testset , @test , @test_throws , @inferred
36- end
37-
38- import . _BaseTest: @testset , @test , @test_throws , @inferred
33+ using Test: @testset , @test , @test_throws , @inferred
3934
4035# Be wary of adding new fields to this Config struct. Always think: can it be
4136# achieved a different way?
You can’t perform that action at this time.
0 commit comments