Fix NumericData.average test on 2.6.0-dev
#34601

evexoio wants to merge evexoio:34600-test_should_return_nil_as_average into rails:master

We do not currently have an analysis of these two commits