diff --git a/README.md b/README.md index ff878296b..e7cb5981e 100644 --- a/README.md +++ b/README.md @@ -140,8 +140,6 @@ Currently, the `@compat` macro supports the following syntaxes: * `endof` is now `lastindex` ([#25458]). (Note that `lastindex(A, n)` is not supported.) -* `nb_available` is now `bytesavailable` ([#25634]). - * `method_exists` is now `hasmethod` ([#25615]). * `object_id` is now `objectid` ([#25615]). diff --git a/src/Compat.jl b/src/Compat.jl index c65a7f952..be924da56 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -75,12 +75,6 @@ end end end -# 0.7.0-DEV.3481 -@static if !isdefined(Base, :bytesavailable) - const bytesavailable = nb_available - export bytesavailable -end - # 0.7.0-DEV.3583 @static if !isdefined(Base, :lastindex) const lastindex = endof diff --git a/test/old.jl b/test/old.jl index 0039c7997..c78c571c1 100644 --- a/test/old.jl +++ b/test/old.jl @@ -703,3 +703,9 @@ end @test GC.enable(true) @test eltype(Base.Multimedia.displays) <: AbstractDisplay + +# 0.7.0-DEV.3481 +let b = IOBuffer() + write(b, "hi") + @test bytesavailable(b) == 0 +end diff --git a/test/runtests.jl b/test/runtests.jl index 53eda2f95..837f5a8ed 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -82,12 +82,6 @@ end @test codeunit("foo") == codeunit(SubString("fooαβγ",1,3)) == UInt8 -# 0.7.0-DEV.3481 -let b = IOBuffer() - write(b, "hi") - @test bytesavailable(b) == 0 -end - # 0.7.0-DEV.3583 @test lastindex(zeros(4)) == 4 @test lastindex(zeros(4,4)) == 16