We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1211caa commit cefd96eCopy full SHA for cefd96e
1 file changed
linearmodels/tests/shared/test_hypotheses_constraints.py
@@ -85,7 +85,7 @@ def test_quadratic_form_formula_and_restriction_exclusive():
85
86
87
def test_quadratic_form_formula_requires_series_params():
88
- with pytest.raises(ValueError, match="pandas Series"):
+ with pytest.raises(TypeError, match="pandas Series"):
89
quadratic_form_test(np.array([0.0, 1.0]), np.eye(2), formula="x0=0")
90
91
0 commit comments