Skip to content

Commit 47ee7bc

Browse files
authored
Fix tests broken by Julia Base changes (#2844)
* Fix tests broken by Julia Base changes * Update cat.jl
1 parent fe7709d commit 47ee7bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/cat.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ end
455455
df2 = @view df[:, 1:2]
456456
@test typeof(df1) != typeof(df2)
457457

458-
@test_throws ArgumentError reduce(vcat, ())
458+
@test_throws Union{MethodError, ArgumentError} reduce(vcat, ())
459459
@test reduce(vcat, DataFrame[]) == DataFrame()
460460
@test reduce(vcat, SubDataFrame[]) == DataFrame()
461461
@test reduce(vcat, AbstractDataFrame[]) == DataFrame()

test/grouping.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ Base.isless(::TestType, ::TestType) = false
11981198
@test typeof(res.y) == typeof(expected.y)
11991199
if m
12001200
gd[1][:, :x1c] .= missing
1201-
@test_throws ArgumentError combine(gd, :x1c => fskipmissing => :y)
1201+
@test_throws Union{MethodError, ArgumentError} combine(gd, :x1c => fskipmissing => :y)
12021202
end
12031203
end
12041204
@test combine(gd, :x1 => maximum => :y, :x2 => sum => :z)

0 commit comments

Comments
 (0)