def METHOD_NAME(self):
    """
    Test the IdealGasTranslation.get_partition_function() method for a
    classical translator.
    """
    t_list = np.array([300, 500, 1000, 1500, 2000])
    q_exp_list = np.array([7.22597e06, 2.59130e07, 1.46586e08, 4.03944e08, 8.29217e08])
    for temperature, q_exp in zip(t_list, q_exp_list):
        q_act = self.mode.get_partition_function(temperature)
        assert abs(q_exp - q_act) < 1e-4 * q_exp