- fix assertion for py26