Skip to content

Commit 8c32d53

Browse files
authored
remove unnecessary @time (#3394)
1 parent 831f010 commit 8c32d53

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/join.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ anti = left[Bool[ismissing(x) for x in left.Job], [:ID, :Name]]
8484
@test_throws ArgumentError crossjoin(df1, df2, renamecols=(x -> "a") => x -> "a")
8585
@test crossjoin(df1, df2, renamecols=(x -> "a") => x -> "a", makeunique=true) ==
8686
rename(cross, [:a, :a_1, :a_2])
87-
87+
8888
# Cross joins handle naming collisions
8989
@test size(crossjoin(df1, df1, makeunique=true)) == (4, 4)
9090

@@ -2176,7 +2176,7 @@ end
21762176
@test_throws ArgumentError outerjoin(df1, df2, on=:x, order=:x)
21772177
end
21782178

2179-
@time @testset "randomized join tests with sort" begin
2179+
@testset "randomized join tests with sort" begin
21802180
Random.seed!(1234)
21812181
for lenl in 0:20, lenr in 0:20, rep in 1:10
21822182
df1 = DataFrame(x=rand(0:lenl, lenl), id1=1:lenl)
@@ -2221,7 +2221,7 @@ end
22212221
@testset "wide joins" begin
22222222
Random.seed!(1234)
22232223
# we need many repetitions to make sure we cover all cases
2224-
@time for _ in 1:1000, k in 2:4
2224+
for _ in 1:1000, k in 2:4
22252225
dfs = [(n=rand(10:20);
22262226
DataFrame("id" => randperm(n), "x$i" => 1:n)) for i in 1:4]
22272227
@test issorted(innerjoin(dfs..., on="id", order=:left)[:, 2])
@@ -2232,9 +2232,9 @@ end
22322232

22332233
dfs = [DataFrame("id" => 0, "x$i" => i) for i in 1:10000]
22342234
res = innerjoin(dfs..., on="id")
2235-
@test res == DataFrame(["id" => 0; ["x$i" => i for i in 1:10000]])
2235+
@test res == DataFrame(["id" => 0; ["x$i" => i for i in 1:10000]])
22362236
res = outerjoin(dfs..., on="id")
2237-
@test res == DataFrame(["id" => 0; ["x$i" => i for i in 1:10000]])
2237+
@test res == DataFrame(["id" => 0; ["x$i" => i for i in 1:10000]])
22382238
end
22392239

22402240
end # module

0 commit comments

Comments
 (0)