def METHOD_NAME(self):
    c = lib.param.LIGHT_SPEED
    myx2c = x2c.UHF(mol)
    myx2c.with_x2c.xuncontract = False
    def tv(with_x2c):
        xmol = with_x2c.get_xmol()[0]
        t = xmol.intor_symmetric('int1e_spsp_spinor') * .5
        #v = xmol.intor_symmetric('int1e_nuc_spinor')
        w = xmol.intor_symmetric('int1e_spnucsp_spinor')
        return t, 'int1e_nuc_spinor', w
    t, v, w = tv(myx2c.with_x2c)
    h1 = myx2c.with_x2c.picture_change((v, w*(.5/c)**2-t), t)
    href = myx2c.with_x2c.get_hcore()
    self.assertAlmostEqual(abs(href - h1).max(), 0, 9)
    myx2c.with_x2c.xuncontract = True
    t, v, w = tv(myx2c.with_x2c)
    h1 = myx2c.with_x2c.picture_change((v, w*(.5/c)**2-t), t)
    href = myx2c.with_x2c.get_hcore()
    self.assertAlmostEqual(abs(href - h1).max(), 0, 9)
    myx2c.with_x2c.basis = 'unc-sto3g'
    t, v, w = tv(myx2c.with_x2c)
    h1 = myx2c.with_x2c.picture_change((v, w*(.5/c)**2-t), t)
    href = myx2c.with_x2c.get_hcore()
    self.assertAlmostEqual(abs(href - h1).max(), 0, 9)