diff --git a/README.md b/README.md index debb739ec..ff878296b 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,6 @@ Currently, the `@compat` macro supports the following syntaxes: ## Renaming -* `Display` is now `AbstractDisplay` ([#24831]). - * `reprmime(mime, x)` is now `repr(mime, x)` ([#25990]) and `mimewritable` is now `showable` ([#26089]). * `search` is now `findfirst`/`findnext` and `rsearch` is now `findlast`/`findprev`, diff --git a/src/Compat.jl b/src/Compat.jl index 6644e3577..c65a7f952 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -75,12 +75,6 @@ end end end -# 0.7.0-DEV.2695 -@static if !isdefined(Base, :AbstractDisplay) - const AbstractDisplay = Display - export AbstractDisplay -end - # 0.7.0-DEV.3481 @static if !isdefined(Base, :bytesavailable) const bytesavailable = nb_available diff --git a/test/old.jl b/test/old.jl index 46e863804..f3e8ee458 100644 --- a/test/old.jl +++ b/test/old.jl @@ -696,3 +696,5 @@ end @test !GC.enable(false) @test !GC.enable(true) @test GC.enable(true) + +@test eltype(Base.Multimedia.displays) <: AbstractDisplay diff --git a/test/runtests.jl b/test/runtests.jl index 6e0ecd33b..a4417269e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -82,8 +82,6 @@ end @test codeunit("foo") == codeunit(SubString("fooαβγ",1,3)) == UInt8 -@test eltype(Base.Multimedia.displays) <: AbstractDisplay - # 0.7.0-DEV.3481 let b = IOBuffer() write(b, "hi")