Python 3.2 fix for imports.
Dropped 2.6 support becasue of unittest skipIf.