TX-32 by education/race:
College White: 30.95%
Non-College White: 24.61%
College Non-White: 12.44%
Non-College Non-White: 32.00%
For a comparison here's VA-10's numbers with a much more vulnerable incumbent that Cook has rated as lean D:
College White: 36.60%
Non-College White: 27.99%
College Non-White: 17.73%
Non-College Non-White: 17.68%
TX-32 is less educated than VA-10, but also much more diverse. It's still more educated than the nation as a whole. Comstock can't survive simply because there's too many educated people in her district, while Sessions might be able to as long as the diversity of his district "in combination with the trend of educated whites away from the Republican Party" doesn't overwhelm him.
Its more a factor of the fact Minorities turn out less - particularly Hispanics. So while on paper Comstock's demographics are better, TX-32 has more GOP friendly electorate.