Skip to content

Commit f73518c

Browse files
authored
mark some slow tests (#197)
1 parent c3d31d7 commit f73518c

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎pyscf/lno/test/test_ulnoccsd.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def tearDownClass(cls):
6363
cls.mol.stdout.close()
6464
del cls.mol, cls.mf, cls.ecano, cls.frozen
6565

66-
def test_ulno_pm_by_thresh(self):
66+
def test_ulno_pm_by_thresh_slow(self):
6767
mol = self.mol
6868
mf = self.mf
6969
frozen = self.frozen

‎pyscf/pbc/pwscf/test/test_krccsd.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _run_test(self, atom, a, basis, pseudo, ke_cutoff, kmesh, exxdiv,
9191
pwcc.kernel()
9292
assert_allclose(pwcc.e_corr, -0.03234330656841895, atol=1.e-4, rtol=0)
9393

94-
def test_krccsd(self):
94+
def test_krccsd_slow(self):
9595
ke_cutoff = 50
9696
basis = "gth-szv"
9797
pseudo = "gth-pade"

‎pyscf/pbc/scf/test/test_khf_stagger.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_222_h2_krks_gdf_nonscf(self):
118118
self.assertAlmostEqual(etot, -1.133718254945507, 7)
119119
self.assertAlmostEqual(ek_stagger, -0.5678938270891276, 7)
120120

121-
def test_222_h2_fftdf_splitscf(self):
121+
def test_222_h2_fftdf_splitscf_slow(self):
122122
cell = build_h2_cell()
123123
nk = [2, 2, 2]
124124
etot, ek_stagger = run_khf_fftdf(cell, nk, stagger_type="split-scf")
@@ -127,7 +127,7 @@ def test_222_h2_fftdf_splitscf(self):
127127
ek_stagger, -0.5690576097072846, 7
128128
) # QChem value: -0.5690575951
129129

130-
def test_222_h2_fftdf_regular(self):
130+
def test_222_h2_fftdf_regular_slow(self):
131131
cell = build_h2_cell()
132132
nk = [2, 2, 2]
133133
etot, ek_stagger = run_khf_fftdf(cell, nk, stagger_type="regular", kernel=False)

‎pyscf/tdscf/test/test_krylov.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def matrix_vector_product_single(x):
6767
self.places_single = 3
6868

6969

70-
def test_krylov_eigenvalue(self):
70+
def test_krylov_eigenvalue_slow(self):
7171
"""Test Krylov solver for eigenvalue problem"""
7272
_, eigenvalues, eigenvectors = krylov_solver(
7373
matrix_vector_product=self.matrix_vector_product,

0 commit comments

Comments
 (0)