test_mchedr: alt approach compatible with py2.6

...but uglier!