def test_driver_param_indices_force_fd_shift(self):

        prob = Problem()
        prob.root = SellarStateConnection()
        prob.root.fd_options['force_fd'] = True

        prob.driver.add_desvar('z', lower=np.array([-10.0, -10.0]),
                                    upper=np.array([10.0, 10.0]), indices=[1])
        prob.driver.add_desvar('x', lower=0.0, upper=10.0)

        prob.driver.add_objective('obj')
        prob.driver.add_constraint('con1', upper=0.0)
        prob.driver.add_constraint('con2', upper=0.0)
        #prob.driver.options['disp'] = False

        prob.setup(check=False)

        prob['z'][1] = 0.0

        prob.run()

        J = prob.calc_gradient(['x', 'z'], ['obj'], mode='fd',
                               return_format='array')
        assert_rel_error(self, J[0][1], 1.78402, 1e-3)
Create a new row with a specific style name. The row
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/drivers/test/test_driver_param_indices.py/TestParamIndicesPyoptsparse.test_driver_param_indices_force_fd_shift--crossover with--dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/ui/DecoratorPanel.py/DecoratorPanel.createTR