BUG: fix test on 2.6.