Skip to content

Commit 7aaaf80

Browse files
committed
fix debug
1 parent d8318e3 commit 7aaaf80

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pysatl_criterion/statistics/log_normal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def code():
169169
and obj is not AbstractNormalityGofStatistic
170170
and name not in EXPLICITLY_IMPLEMENTED_NORMAL_STATS
171171
and not name.startswith("Abstract")
172-
and not name.startswith("Graph") # maybe shoud fix
172+
and not name.startswith("Graph")
173173
):
174174
ln_class = _create_lognormal_class(obj)
175175
setattr(current_module, ln_class.__name__, ln_class)

tests/statistics/test_log_normal.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ def test_dynamic_lognormal_equivalence(log_normal_cls, normal_cls):
160160
n_stat_obj = normal_cls()
161161
n_val = n_stat_obj.execute_statistic(z_data)
162162

163-
print(log_normal_cls.code())
164163
assert ln_val == pytest.approx(n_val, rel=1e-5)
165164

166165

@@ -172,7 +171,6 @@ def test_dynamic_lognormal_negative_data_handling(log_normal_cls, normal_cls):
172171

173172
data_zero = [1.0, 2.0, 0.0, 3.0]
174173
stat_z = log_normal_cls(s=1, scale=1).execute_statistic(data_zero)
175-
print(log_normal_cls.code())
176174
assert stat_z == float("inf")
177175

178176

@@ -182,6 +180,5 @@ def test_dynamic_lognormal_example_code_method():
182180
LillieforsLogNormalGofStatistic,
183181
)
184182

185-
print("!")
186183
assert "SW_LOGNORMAL_GOODNESS_OF_FIT" == ShapiroWilkLogNormalGofStatistic().code()
187184
assert "LILLIE_LOGNORMAL_GOODNESS_OF_FIT" == LillieforsLogNormalGofStatistic().code()

0 commit comments

Comments
 (0)