assertIsNone was introduced in Python3.1. Its use here should be replaced by
self.assertEquals(o.language, None)
to allow Python 2.X tests to run.