add assert for calling pyDive.init()