A test of factorisation predictions for the fragmentation processes pp→π± at p momenta of 9.1 and 4.6 GeV/c