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 7
7
module Test
8
8
9
9
import LinearAlgebra
10
-
11
10
import MathOptInterface as MOI
12
11
import MathOptInterface. Utilities as MOIU
13
12
@@ -28,14 +27,10 @@ MOI has the problematic feature that MOI.Test.Test is not self-referential,
28
27
and JET.jl appropriately complains with "invalid redefinition of constant
29
28
Test."
30
29
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`.
33
32
=#
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
39
34
40
35
# Be wary of adding new fields to this Config struct. Always think: can it be
41
36
# achieved a different way?
You can’t perform that action at this time.
0 commit comments