From 2124ef7897dde8a11de2472ad965b33e6a46d14b Mon Sep 17 00:00:00 2001 From: rafaqz Date: Sun, 15 Oct 2023 12:19:02 +0200 Subject: [PATCH] no Pairs --- BaseInterfaces/src/BaseInterfaces.jl | 2 +- BaseInterfaces/test/runtests.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseInterfaces/src/BaseInterfaces.jl b/BaseInterfaces/src/BaseInterfaces.jl index 1889e21..ee91def 100644 --- a/BaseInterfaces/src/BaseInterfaces.jl +++ b/BaseInterfaces/src/BaseInterfaces.jl @@ -28,7 +28,7 @@ include("array.jl") @implements DictInterface{(:setindex,)} WeakKeyDict @implements DictInterface Base.EnvDict @implements DictInterface Base.ImmutableDict -@implements DictInterface Base.Pairs +# @implements DictInterface Base.Pairs - not on 1.6? @implements IterationInterface{(:reverse,:indexing,)} UnitRange @implements IterationInterface{(:reverse,:indexing,)} StepRange diff --git a/BaseInterfaces/test/runtests.jl b/BaseInterfaces/test/runtests.jl index d0acd3b..9db54ac 100644 --- a/BaseInterfaces/test/runtests.jl +++ b/BaseInterfaces/test/runtests.jl @@ -28,7 +28,7 @@ end @test Interfaces.test(DictInterface, IdDict, [Arguments(d=IdDict(:a => 1, :b => 2), k=:c, v=3)]) @test Interfaces.test(DictInterface, Base.EnvDict, [Arguments(d=Base.EnvDict())]) @test Interfaces.test(DictInterface, Base.ImmutableDict, [Arguments(d=Base.ImmutableDict(:a => 1, :b => 2))]) - @test Interfaces.test(DictInterface, Base.Pairs, [Arguments(d=Base.pairs((a = 1, b = 2)))]) + # @test Interfaces.test(DictInterface, Base.Pairs, [Arguments(d=Base.pairs((a = 1, b = 2)))]) @test Interfaces.test(DictInterface, Test.GenericDict, [Arguments(d=Test.GenericDict(Dict(:a => 1, :b => 2)), k=:c, v=3)]) a = Ref(1); b = Ref(2) @test Interfaces.test(DictInterface, WeakKeyDict, [Arguments(d= d = WeakKeyDict(a => 1, b => 2), k=Ref(3), v=3)])