Skip to content

Commit 0d468db

Browse files
committed
Drop compat code for isnumeric from #543
1 parent 683bd1a commit 0d468db

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,6 @@ Currently, the `@compat` macro supports the following syntaxes:
211211

212212
* `cfunction` is now `@cfunction` ([#26486]).
213213

214-
* `Unicode.isnumeric` is now available as `isnumeric` ([#25479]).
215-
216214
* `vecnorm` and `vecdot` are now `Compat.norm` and `Compat.dot`, respectively, while the
217215
old `norm(A::AbstractMatrix, p=2)` is now `Compat.opnorm` ([#27401]). `import Compat: ⋅`
218216
to get `Compat.dot` as the binary operator ``.

src/Compat.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ end
4646

4747
include("compatmacro.jl")
4848

49-
# 0.7.0-DEV.3393
50-
@static if VERSION < v"0.7.0-DEV.3393"
51-
import .Unicode.isnumeric
52-
export isnumeric
53-
end
54-
5549
# 0.7.0-DEV.2951
5650
@static if !isdefined(Base, :AbstractDict)
5751
const AbstractDict = Associative

test/old.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,3 +565,7 @@ end
565565
# 0.7.0-DEV.1930
566566
@test textwidth("A") == 1
567567
@test textwidth('A') == 1
568+
569+
# 0.7.0-DEV.3393
570+
@test !isnumeric('a')
571+
@test isnumeric('1')

test/runtests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ let A = [1]
8080
@test x == 1
8181
end
8282

83-
# 0.7.0-DEV.3393
84-
@test !isnumeric('a')
85-
@test isnumeric('1')
86-
8783
# 0.7.0-DEV.2951
8884
@test AbstractDict === (isdefined(Base, :AbstractDict) ? Base.AbstractDict : Base.Associative)
8985

0 commit comments

Comments
 (0)