def test_make_rdm1s(self):
    dm1 = mcscf.addons.make_rdm1s(mcr)
    self.assertAlmostEqual(numpy.linalg.norm(dm1), 2.7015404376335805, 5)
    dm1 = mcscf.addons.make_rdm1s(mcu)
    self.assertAlmostEqual(numpy.linalg.norm(dm1), 2.7015404376335805, 5)
def test_make_rdm1s(self):
    dm1 = mcscf.addons.make_rdm1s(mcr)
    self.assertAlmostEqual(numpy.linalg.norm(dm1), 2.7015404376335805, 5)
    dm1 = mcscf.addons.make_rdm1s(mcu)
    self.assertAlmostEqual(numpy.linalg.norm(dm1), 2.7015404376335805, 5)