def test_unnecessary_pcomp(self):
        top = set_as_top(MuAsm())
        top.add('comp', MuComp())
        top._setup()
        nodes = set(top._depgraph.nodes())
        top.connect("mu", "comp.mu") # connect two vars with same units but diff unit strings
        self.assertEqual(set(), set(top._depgraph.nodes())-nodes)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/test/test_pseudocomp.py/PseudoCompTestCase.test_unnecessary_pcomp/original