Tables.jl icon indicating copy to clipboard operation
Tables.jl copied to clipboard

empty ByRow test failure in Julia_1.11.0-DEV.1238

Open George9000 opened this issue 6 months ago • 6 comments

Under test/select.jl, several of the empty ByRow tests fail between lines 1579 and 1610.

Errors
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1579
  Expression: select(df, [] => (ByRow((()->begin
                            #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1579 =#
                            [1, "1"]
                        end)) => AsTable)) == DataFrame()
   Evaluated: 0×2 DataFrame
 Row │ ref        size
     │ GenericM…  Tuple…
─────┴─────────────────── == 0×0 DataFrame

Stacktrace:
 [1] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined]
 [2] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1579 [inlined]
 [3] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [4] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1580
  Expression: select(df, [] => (ByRow((()->begin
                        #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1580 =#
                        [1, "1"]
                    end)) => [:p, :q]))
    Expected: ArgumentError
  No exception thrown

Stacktrace:
 [1] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1580 [inlined]
 [2] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [3] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1579
  Expression: select(df, [] => (ByRow((()->begin
                            #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1579 =#
                            [1, "1"]
                        end)) => AsTable)) == DataFrame()
   Evaluated: 0×2 DataFrame
 Row │ ref        size
     │ GenericM…  Tuple…
─────┴─────────────────── == 0×0 DataFrame

Stacktrace:
 [1] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined]
 [2] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1579 [inlined]
 [3] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [4] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1580
  Expression: select(df, [] => (ByRow((()->begin
                        #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1580 =#
                        [1, "1"]
                    end)) => [:p, :q]))
    Expected: ArgumentError
  No exception thrown

Stacktrace:
 [1] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1580 [inlined]
 [2] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [3] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1609
  Expression: select(df, [] => (ByRow((()->begin
                            #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1609 =#
                            [1, "1"]
                        end)) => AsTable)) == DataFrame()
   Evaluated: 0×2 DataFrame
 Row │ ref        size
     │ GenericM…  Tuple…
─────┴─────────────────── == 0×0 DataFrame

Stacktrace:
 [1] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined]
 [2] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1609 [inlined]
 [3] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [4] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1610
  Expression: select(df, [] => (ByRow((()->begin
                        #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1610 =#
                        [1, "1"]
                    end)) => [:p, :q]))
    Expected: ArgumentError
  No exception thrown

Stacktrace:
 [1] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1610 [inlined]
 [2] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [3] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1609
  Expression: select(df, [] => (ByRow((()->begin
                            #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1609 =#
                            [1, "1"]
                        end)) => AsTable)) == DataFrame()
   Evaluated: 0×2 DataFrame
 Row │ ref        size
     │ GenericM…  Tuple…
─────┴─────────────────── == 0×0 DataFrame

Stacktrace:
 [1] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:679 [inlined]
 [2] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1609 [inlined]
 [3] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [4] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
empty ByRow: Test Failed at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1610
  Expression: select(df, [] => (ByRow((()->begin
                        #= /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1610 =#
                        [1, "1"]
                    end)) => [:p, :q]))
    Expected: ArgumentError
  No exception thrown

Stacktrace:
 [1] macro expansion
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1610 [inlined]
 [2] macro expansion
   @ ~/applications/julia11/usr/share/julia/stdlib/v1.11/Test/src/Test.jl:1598 [inlined]
 [3] top-level scope
   @ ~/Documents/julia/dev/DataFrames/test/select.jl:1555
Test Summary: | Pass  Fail  Total  Time
empty ByRow   |   46     8     54  1.5s
	FAILED: select.jl
LoadError: Some tests did not pass: 46 passed, 8 failed, 0 errored, 0 broken.
in expression starting at /Users/foo/Documents/julia/dev/DataFrames/test/select.jl:1

versioninfo and full test results

George9000 avatar Jan 09 '24 05:01 George9000