def test_no_vecs(self):
        prob = Problem(root=ExampleGroup())
        prob.setup(check=False)

        # test that problem has no unknowns, params, etc.
        try:
            prob.unknowns['G3.C4.y']
        except AttributeError as err:
            self.assertEqual(str(err), "'Problem' object has no attribute 'unknowns'")
        else:
            self.fail("AttributeError expected")

        try:
            prob.params['G3.C4.x']
        except AttributeError as err:
            self.assertEqual(str(err), "'Problem' object has no attribute 'params'")
        else:
            self.fail("AttributeError expected")

        try:
            prob.resids['G3.C4.x']
        except __HOLE__ as err:
            self.assertEqual(str(err), "'Problem' object has no attribute 'resids'")
        else:
            self.fail("AttributeError expected")
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/test/test_problem.py/TestProblem.test_no_vecs