old_contents: from __future__ import print_function, division
  import unittest, numpy as np
  from pyscf import gto, scf
  from pyscf.nao import gw as gw_c
  
  class KnowValues(unittest.TestCase):
  
    def test_si_ref(self):
      """ This is GW """
      mol = gto.M( verbose = 1, atom = '''H 0 0 0;  H 0.17 0.7 0.587''', basis = 'cc-pvdz',)
      gto_mf = scf.RHF(mol)
      gto_mf.kernel()
      gw = gw_c(mf=gto_mf, gto=mol)
      ww = [0.0+1j*4.0, 1.0+1j*0.1, -2.0-1j*0.1]
  
      si0_fm = gw.si_c(ww)
  
  if __name__ == "__main__": unittest.main()
  
new_contents: from __future__ import print_function, division
  import unittest, numpy as np
  from pyscf import gto, scf
  from pyscf.nao import gw as gw_c
  
  class KnowValues(unittest.TestCase):
  
    def test_si_ref(self):
      """ This is GW """
      mol = gto.M( verbose = 1, atom = '''H 0 0 0;  H 0.17 0.7 0.587''', basis = 'cc-pvdz',)
      gto_mf = scf.RHF(mol)
      gto_mf.kernel()
      gw = gw_c(mf=gto_mf, gto=mol)
      ww = np.array([0.0+1j*4.0, 1.0+1j*0.1, -2.0-1j*0.1])
  
      si0_fm = gw.si_c(ww)
  
  if __name__ == "__main__": unittest.main()
  
subject: fix test_0053