Skip to content

Commit

Permalink
improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins committed Oct 21, 2023
1 parent 4e08400 commit fec4742
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/grouping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4531,4 +4531,9 @@ end
end
end

@testset "no levels in pooled grouping bug #3393" begin
@test isempty(groupby_checked(DataFrame(x=PooledArray([missing])), :x, skipmissing=true))
@test isempty(groupby_checked(DataFrame(x=categorical([missing])), :x, skipmissing=true))
end

end # module

0 comments on commit fec4742

Please sign in to comment.