Skip to content

Commit 3a6388e

Browse files
committed
Use @import from TestExtras
1 parent 0ad6475 commit 3a6388e

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Random = "1"
1919
Reexport = "1"
2020
TensorOperations = "5"
2121
Test = "1"
22-
TestExtras = "0.2"
22+
TestExtras = "0.3"
2323
WignerSymbols = "1,2"
2424

2525
[extras]

test/testsetup.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Basic utility for testing sectors.
66
module TestSetup
77

88
export smallset, randsector, hasfusiontensor
9-
export @include
109

1110
using TensorKitSectors, Test, Random
1211
using TestExtras
@@ -44,12 +43,4 @@ function hasfusiontensor(I::Type{<:Sector})
4443
end
4544
end
4645

47-
# include file as-is in local scope
48-
macro include(filename::String)
49-
dir = dirname(string(__source__.file))
50-
filepath = joinpath(dir, filename)
51-
source = "quote; " * read(filepath, String) * "; end"
52-
return esc(Meta.parse(source).args[1])
53-
end
54-
5546
end # module TestSetup

0 commit comments

Comments
 (0)