Skip to content

Commit 3d362aa

Browse files
committed
removed unnecessary test
1 parent 96f33ae commit 3d362aa

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

doubleml/plm/tests/test_model_defaults.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,3 @@ def test_lplr_defaults():
1717
_fit_bootstrap(dml_lplr_obj)
1818

1919
_check_basic_defaults_after_fit(dml_lplr_obj)
20-
21-
22-
@pytest.mark.ci
23-
def test_did_multi_str():
24-
# Test the string representation before fitting
25-
dml_str = str(dml_lplr_obj)
26-
27-
# Check that all important sections are present
28-
assert "================== DoubleMLLPLR Object ==================" in dml_str
29-
assert "------------------ Data Summary ------------------" in dml_str
30-
assert "------------------ Score & Algorithm ------------------" in dml_str
31-
assert "------------------ Machine Learner ------------------" in dml_str
32-
assert "------------------ Resampling ------------------" in dml_str
33-
assert "------------------ Fit Summary ------------------" in dml_str
34-
35-
# Check specific content before fitting
36-
assert "No. folds: 5" in dml_str
37-
assert "No. repeated sample splits: 1" in dml_str
38-
assert "Learner ml_M:" in dml_str
39-
assert "Learner ml_m:" in dml_str
40-
assert "Learner ml_t:" in dml_str
41-
42-
# Fit the model
43-
dml_lplr_obj_fit = dml_lplr_obj.fit()
44-
dml_str_after_fit = str(dml_lplr_obj_fit)
45-
46-
# Check that additional information is present after fitting
47-
assert "coef" in dml_str_after_fit
48-
assert "std err" in dml_str_after_fit
49-
assert "t" in dml_str_after_fit
50-
assert "P>|t|" in dml_str_after_fit
51-
assert "Out-of-sample Performance:" in dml_str_after_fit

0 commit comments

Comments
 (0)