Oh, race might well affect intelligence, it's just that we're pretty sure the effect is so miniscule in comparison to variation within the races that it's not really that interesting unless you're a racist.
In America, the difference between population means in IQ is quite large between some racial groups, up to a standard deviation or 15 IQ points. The relationship holds for SAT, PISA, and pretty much any other measure of cognitive ability