Fixed Python 2.6 test breakage.