From a396f8b7d9ece2b5955757f7bc9d30c8673b7bb3 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Sun, 28 Apr 2024 17:23:00 -0400 Subject: [PATCH] Remove extraneous export --- src/ITensors.jl | 5 +++-- test/base/test_exports.jl | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ITensors.jl b/src/ITensors.jl index cfaf7a97eb..dbc5a868f4 100644 --- a/src/ITensors.jl +++ b/src/ITensors.jl @@ -68,7 +68,6 @@ include("global_variables.jl") include("lastval.jl") include("lib/SmallStrings/src/SmallStrings.jl") using .SmallStrings: SmallStrings, IntChar, Tag, isint, isnull -export Tag include("readwrite.jl") # TODO: Move to `lib/Nots/src/Nots.jl`. include("not.jl") @@ -82,8 +81,10 @@ include("indexset.jl") include("itensor.jl") include("val.jl") export val +# include("lib/QuantumNumbers/src/QuantumNumbers.jl") +# using .QuantumNumbers: QN +# export QN include("qn/flux.jl") -# TODO: Move to `lib/QuantumNumbers/src/QuantumNumbers.jl`. include("qn/qn.jl") include("oneitensor.jl") include("tensor_operations/tensor_algebra.jl") diff --git a/test/base/test_exports.jl b/test/base/test_exports.jl index ccfdb65762..5cb44a055a 100644 --- a/test/base/test_exports.jl +++ b/test/base/test_exports.jl @@ -3,7 +3,7 @@ using ITensors: ITensors using Test: @test, @testset include("utils/TestITensorsExportedNames/TestITensorsExportedNames.jl") using .TestITensorsExportedNames: ITENSORS_EXPORTED_NAMES -@testset "Test $name is exported" for name in ITENSORS_EXPORTED_NAMES - @test Base.isexported(ITensors, name) +@testset "Test exports of ITensors" begin + @test issetequal(names(ITensors), ITENSORS_EXPORTED_NAMES) end end