don't use assertIsNotNone, which doesn't exist in older pythons