Remove syntax and unittest functions not available in python 2.6