Fix test_platforms test following 9ee71ae