Skip to content

Commit 60727df

Browse files
authored
Temporarily disabling 3.14 tests without numba
Temporarily disabling 3.14 tests without numba
2 parents c328587 + a9b919b commit 60727df

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

.github/workflows/unittests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
- ci/311-numba-latest.yaml
3434
- ci/312-numba-latest.yaml
3535
- ci/313-numba-latest.yaml
36-
- ci/314-latest.yaml
36+
#- ci/314-latest.yaml
3737
- ci/314-numba-latest.yaml
38-
- ci/314-dev.yaml
38+
#- ci/314-dev.yaml
3939
- ci/314-numba-dev.yaml
4040
include:
4141
# Python 3.14 *WITH* optional numba
@@ -46,12 +46,12 @@
4646
- environment-file: ci/314-numba-latest.yaml
4747
os: windows-latest
4848
# Python 3.14 *WITHOUT* optional numba
49-
- environment-file: ci/314-latest.yaml
50-
os: macos-15-intel # Intel
51-
- environment-file: ci/314-latest.yaml
52-
os: macos-latest # Apple Silicon
53-
- environment-file: ci/314-latest.yaml
54-
os: windows-latest
49+
#- environment-file: ci/314-latest.yaml
50+
# os: macos-15-intel # Intel
51+
#- environment-file: ci/314-latest.yaml
52+
# os: macos-latest # Apple Silicon
53+
#- environment-file: ci/314-latest.yaml
54+
# os: windows-latest
5555
fail-fast: false
5656

5757
defaults:

spreg/tests/test_twosls_sp.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,20 @@ def test_slx(self):
414414
cfh_test = np.array([0.10818 , 0.947347])
415415
np.testing.assert_allclose(reg.cfh_test, cfh_test,RTOL)
416416

417+
reg2 = GM_Lag(self.y, self.X, slx_lags=1, slx_vars=[False, True], spat_diag=True, w=self.w2)
418+
print(reg2.betas)
419+
print(reg2.vm[0])
420+
421+
betas = np.array([[ 47.5145963],
422+
[ 0.777552788],
423+
[-0.577775013],
424+
[ 0.0356029868],
425+
[-0.0361304556]])
426+
np.testing.assert_allclose(reg2.betas, betas,RTOL)
427+
vm = np.array([ 182.846791, -5.60029829, -2.10057337, 0.0715597853,
428+
-0.207433690])
429+
np.testing.assert_allclose(reg2.vm[0], vm,RTOL)
430+
417431
def test_graph(self):
418432
X = []
419433
X.append(self.db.by_col("INC"))

0 commit comments

Comments
 (0)